/*!
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(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);

/*
 * SimpleModal 1.4.1 - jQuery Plugin
 * http://www.ericmmartin.com/projects/simplemodal/
 * Copyright (c) 2010 Eric Martin (http://twitter.com/ericmmartin)
 * Dual licensed under the MIT and GPL licenses
 * Revision: $Id: jquery.simplemodal.js 261 2010-11-05 21:16:20Z emartin24 $
 */
(function(d){var k=d.browser.msie&&parseInt(d.browser.version)===6&&typeof window.XMLHttpRequest!=="object",m=d.browser.msie&&parseInt(d.browser.version)===7,l=null,f=[];d.modal=function(a,b){return d.modal.impl.init(a,b)};d.modal.close=function(){d.modal.impl.close()};d.modal.focus=function(a){d.modal.impl.focus(a)};d.modal.setContainerDimensions=function(){d.modal.impl.setContainerDimensions()};d.modal.setPosition=function(){d.modal.impl.setPosition()};d.modal.update=function(a,b){d.modal.impl.update(a,
b)};d.fn.modal=function(a){return d.modal.impl.init(this,a)};d.modal.defaults={appendTo:"body",focus:true,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:false,autoPosition:true,zIndex:1E3,close:true,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",escClose:true,overlayClose:false,position:null,
persist:false,modal:true,onOpen:null,onShow:null,onClose:null};d.modal.impl={d:{},init:function(a,b){var c=this;if(c.d.data)return false;l=d.browser.msie&&!d.boxModel;c.o=d.extend({},d.modal.defaults,b);c.zIndex=c.o.zIndex;c.occb=false;if(typeof a==="object"){a=a instanceof jQuery?a:d(a);c.d.placeholder=false;if(a.parent().parent().size()>0){a.before(d("<span></span>").attr("id","simplemodal-placeholder").css({display:"none"}));c.d.placeholder=true;c.display=a.css("display");if(!c.o.persist)c.d.orig=
a.clone(true)}}else if(typeof a==="string"||typeof a==="number")a=d("<div></div>").html(a);else{alert("SimpleModal Error: Unsupported data type: "+typeof a);return c}c.create(a);c.open();d.isFunction(c.o.onShow)&&c.o.onShow.apply(c,[c.d]);return c},create:function(a){var b=this;f=b.getDimensions();if(b.o.modal&&k)b.d.iframe=d('<iframe src="javascript:false;"></iframe>').css(d.extend(b.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:f[0],width:f[1],zIndex:b.o.zIndex,top:0,left:0})).appendTo(b.o.appendTo);
b.d.overlay=d("<div></div>").attr("id",b.o.overlayId).addClass("simplemodal-overlay").css(d.extend(b.o.overlayCss,{display:"none",opacity:b.o.opacity/100,height:b.o.modal?f[0]:0,width:b.o.modal?f[1]:0,position:"fixed",left:0,top:0,zIndex:b.o.zIndex+1})).appendTo(b.o.appendTo);b.d.container=d("<div></div>").attr("id",b.o.containerId).addClass("simplemodal-container").css(d.extend(b.o.containerCss,{display:"none",position:"fixed",zIndex:b.o.zIndex+2})).append(b.o.close&&b.o.closeHTML?d(b.o.closeHTML).addClass(b.o.closeClass):
"").appendTo(b.o.appendTo);b.d.wrap=d("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(b.d.container);b.d.data=a.attr("id",a.attr("id")||b.o.dataId).addClass("simplemodal-data").css(d.extend(b.o.dataCss,{display:"none"})).appendTo("body");b.setContainerDimensions();b.d.data.appendTo(b.d.wrap);if(k||l)b.fixIE()},bindEvents:function(){var a=this;d("."+a.o.closeClass).bind("click.simplemodal",function(b){b.preventDefault();a.close()});
a.o.modal&&a.o.close&&a.o.overlayClose&&a.d.overlay.bind("click.simplemodal",function(b){b.preventDefault();a.close()});d(document).bind("keydown.simplemodal",function(b){if(a.o.modal&&b.keyCode===9)a.watchTab(b);else if(a.o.close&&a.o.escClose&&b.keyCode===27){b.preventDefault();a.close()}});d(window).bind("resize.simplemodal",function(){f=a.getDimensions();a.o.autoResize?a.setContainerDimensions():a.o.autoPosition&&a.setPosition();if(k||l)a.fixIE();else if(a.o.modal){a.d.iframe&&a.d.iframe.css({height:f[0],
width:f[1]});a.d.overlay.css({height:f[0],width:f[1]})}})},unbindEvents:function(){d("."+this.o.closeClass).unbind("click.simplemodal");d(document).unbind("keydown.simplemodal");d(window).unbind("resize.simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var a=this,b=a.o.position;d.each([a.d.iframe||null,!a.o.modal?null:a.d.overlay,a.d.container],function(c,h){if(h){var g=h[0].style;g.position="absolute";if(c<2){g.removeExpression("height");g.removeExpression("width");g.setExpression("height",
'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"');g.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"')}else{var e;if(b&&b.constructor===Array){c=b[0]?typeof b[0]==="number"?b[0].toString():b[0].replace(/px/,""):h.css("top").replace(/px/,"");c=c.indexOf("%")===-1?c+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':
parseInt(c.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';if(b[1]){e=typeof b[1]==="number"?b[1].toString():b[1].replace(/px/,"");e=e.indexOf("%")===-1?e+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(e.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}}else{c=
'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';e='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}g.removeExpression("top");g.removeExpression("left");g.setExpression("top",
c);g.setExpression("left",e)}}})},focus:function(a){var b=this;a=a&&d.inArray(a,["first","last"])!==-1?a:"first";var c=d(":input:enabled:visible:"+a,b.d.wrap);setTimeout(function(){c.length>0?c.focus():b.d.wrap.focus()},10)},getDimensions:function(){var a=d(window);return[d.browser.opera&&d.browser.version>"9.5"&&d.fn.jquery<"1.3"||d.browser.opera&&d.browser.version<"9.5"&&d.fn.jquery>"1.2.6"?a[0].innerHeight:a.height(),a.width()]},getVal:function(a,b){return a?typeof a==="number"?a:a==="auto"?0:
a.indexOf("%")>0?parseInt(a.replace(/%/,""))/100*(b==="h"?f[0]:f[1]):parseInt(a.replace(/px/,"")):null},update:function(a,b){var c=this;if(!c.d.data)return false;c.d.origHeight=c.getVal(a,"h");c.d.origWidth=c.getVal(b,"w");c.d.data.hide();a&&c.d.container.css("height",a);b&&c.d.container.css("width",b);c.setContainerDimensions();c.d.data.show();c.o.focus&&c.focus();c.unbindEvents();c.bindEvents()},setContainerDimensions:function(){var a=this,b=k||m,c=a.d.origHeight?a.d.origHeight:d.browser.opera?
a.d.container.height():a.getVal(b?a.d.container[0].currentStyle.height:a.d.container.css("height"),"h");b=a.d.origWidth?a.d.origWidth:d.browser.opera?a.d.container.width():a.getVal(b?a.d.container[0].currentStyle.width:a.d.container.css("width"),"w");var h=a.d.data.outerHeight(true),g=a.d.data.outerWidth(true);a.d.origHeight=a.d.origHeight||c;a.d.origWidth=a.d.origWidth||b;var e=a.o.maxHeight?a.getVal(a.o.maxHeight,"h"):null,i=a.o.maxWidth?a.getVal(a.o.maxWidth,"w"):null;e=e&&e<f[0]?e:f[0];i=i&&i<
f[1]?i:f[1];var j=a.o.minHeight?a.getVal(a.o.minHeight,"h"):"auto";c=c?a.o.autoResize&&c>e?e:c<j?j:c:h?h>e?e:a.o.minHeight&&j!=="auto"&&h<j?j:h:j;e=a.o.minWidth?a.getVal(a.o.minWidth,"w"):"auto";b=b?a.o.autoResize&&b>i?i:b<e?e:b:g?g>i?i:a.o.minWidth&&e!=="auto"&&g<e?e:g:e;a.d.container.css({height:c,width:b});a.d.wrap.css({overflow:h>c||g>b?"auto":"visible"});a.o.autoPosition&&a.setPosition()},setPosition:function(){var a=this,b,c;b=f[0]/2-a.d.container.outerHeight(true)/2;c=f[1]/2-a.d.container.outerWidth(true)/
2;if(a.o.position&&Object.prototype.toString.call(a.o.position)==="[object Array]"){b=a.o.position[0]||b;c=a.o.position[1]||c}else{b=b;c=c}a.d.container.css({left:c,top:b})},watchTab:function(a){var b=this;if(d(a.target).parents(".simplemodal-container").length>0){b.inputs=d(":input:enabled:visible:first, :input:enabled:visible:last",b.d.data[0]);if(!a.shiftKey&&a.target===b.inputs[b.inputs.length-1]||a.shiftKey&&a.target===b.inputs[0]||b.inputs.length===0){a.preventDefault();b.focus(a.shiftKey?"last":
"first")}}else{a.preventDefault();b.focus()}},open:function(){var a=this;a.d.iframe&&a.d.iframe.show();if(d.isFunction(a.o.onOpen))a.o.onOpen.apply(a,[a.d]);else{a.d.overlay.show();a.d.container.show();a.d.data.show()}a.o.focus&&a.focus();a.bindEvents()},close:function(){var a=this;if(!a.d.data)return false;a.unbindEvents();if(d.isFunction(a.o.onClose)&&!a.occb){a.occb=true;a.o.onClose.apply(a,[a.d])}else{if(a.d.placeholder){var b=d("#simplemodal-placeholder");if(a.o.persist)b.replaceWith(a.d.data.removeClass("simplemodal-data").css("display",
a.display));else{a.d.data.hide().remove();b.replaceWith(a.d.orig)}}else a.d.data.hide().remove();a.d.container.hide().remove();a.d.overlay.hide();a.d.iframe&&a.d.iframe.hide().remove();setTimeout(function(){a.d.overlay.remove();a.d={}},10)}}}})(jQuery);

// EZPZ Hint v1.1.1; Copyright (c) 2009 Mike Enriquez, http://theezpzway.com; Released under the MIT License
(function(a){a.fn.ezpz_hint=function(e){var f={hintClass:'ezpz-hint',hintName:'ezpz_hint_dummy_input'};var c=a.extend(f,e);return this.each(function(){var b;var d;text=a(this).attr('title');a('<input type="text" name="temp" value="" />').insertBefore(a(this));b=a(this).prev('input:first');b.attr('class',a(this).attr('class'));b.attr('size',a(this).attr('size'));b.attr('name',c.hintName);b.attr('autocomplete','off');b.attr('tabIndex',a(this).attr('tabIndex'));b.addClass(c.hintClass);b.val(text);a(this).hide();a(this).attr('autocomplete','off');b.focus(function(){d=a(this);a(this).next('input:first').show();a(this).next('input:first').focus();a(this).next('input:first').unbind('blur').blur(function(){if(a(this).val()==''){a(this).hide();d.show()}});a(this).hide()});if(a(this).val()!=''){b.focus()};a('form').submit(function(){a('.'+c.hintName).remove()})})}})(jQuery);
/** 
 * Dynamic drop-down (Mac-style) skinner for jQuery
 * 
 * Copyright (c) 2008 Mulyadi Oey
 *   http://www.mulyadi.org
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 *	
 */ 

(function($) {
	$.fn.modmac = function(varwidth) {
		var id = $(this).attr("id");
		$(this).hide();

		// ----- generate equivalent markups -----

		var menuId = "modmac_" + id;
		// <option>'s selected attribute is considered binary; not as an attribute name which can have different values
		var initialSelection = $(this).find("option:selected").text();
		var menuHtml = 	'<div id="' + menuId + '" class="mmdropdown mmclearfix" style="width: ' + varwidth + 'px">' + "\n" +
  						'	<div class="mmarrow">' + "\n" +
    					'		<div class="mmlist">' + "\n" +
      					'			<p>' + initialSelection + '</p>' + "\n" +
						'		</div>' + "\n" +
						'	</div>' + "\n" +
						'</div>';

		var menuItemId = menuId + "_item";
		var menuItemHtml = '<div id="' + menuItemId + '" class="mmdropdownitem" style="width: ' + (varwidth-5) + 'px">' + "\n";
		// iterate all <option>
		$(this).find("option").each(function() {
			// e.g. <p id="id_value">value</p>
			menuItemHtml += '<p id="' + id + '___' + $(this).attr("value") + '">' + $(this).text() + '</p>' + "\n";
		});
		menuItemHtml += '</div>';
		
		$(this).before(menuHtml + menuItemHtml);
		
		// ----- visual initialization -----
		
		$("#" + menuItemId).hide();
		
		// ----- event handling -----
		
		var menuSelector = '#' + menuId;
		var menuItemSelector = '#' + menuItemId;
		
		$(menuSelector).click(function() { DoTheDrop( menuItemSelector, $(this) ) } );
                    /*function() {
			// show items list
			$(menuItemSelector).slideToggle();
			
			// only care when the menu item is visible
			if ($(menuItemSelector).css("display") != "none") {
				var offset = $(this).position();
				$(menuItemSelector).css("left", offset.left + 5 + "px");
				$(menuItemSelector).css("top", offset.top + 27 + "px");
				
				// highlight item list that is currently selected
				var currentText = $(menuSelector + ' p').text();
				$(menuItemSelector + ' p').each(function() {
					var itemListText = $(this).text(); 
					if (itemListText == currentText) {
						$(this).addClass("selected");
					}
				});
			}
		});*/
		
		$(menuItemSelector + ' p').mouseover(function() {
			// make sure other list item is not selected
			$(menuItemSelector + ' p').removeClass("selected");

			$(this).addClass("selected");
		});
	
		$(menuItemSelector + ' p').mouseout(function() { $(this).removeClass("selected"); } );
	
		$(menuItemSelector + ' p').click(function() {
			// update current selection
			$(menuSelector + ' p').text($(this).text());
			// hide items list
			$(menuItemSelector).hide();
			
			// update the original <option>
			var pId = $(this).attr("id").split("___");
			var menuOriId = pId[0];
			var menuItemOriValue = pId[1];
			var menuOriSelector = "#" + menuOriId;
			$(menuOriSelector).find("option").each(function() {
				if ($(this).attr("value") == menuItemOriValue) {
					this.selected = "selected";
				}
				else {
					this.selected = "";
				}
			});
		});
	
		// hide menu when user clicks anywhere but the dropdown
		$(document).mouseup(function(event) {
			var fromDropdown = $(event.target).parents(menuSelector).length;
			if (fromDropdown == 0) {	// 0 means the event is not originated from the dropdown
				$(menuItemSelector).hide(); 
			}
		});

                
	}
})(jQuery);

function DoTheDrop(menuItemSelector, obj)
{
    $(menuItemSelector).slideToggle();

    // only care when the menu item is visible
    if ($(menuItemSelector).css("display") != "none") {
            var offset = obj.position();
            $(menuItemSelector).css("left", offset.left + 5 + "px");
            $(menuItemSelector).css("top", offset.top + 27 + "px");

            // highlight item list that is currently selected
            var currentText = $( "#" + $(this).attr("id") + ' p').text();
            $( menuItemSelector + ' p').each(function() {
                    var itemListText = obj.text();
                    if (itemListText == currentText) {
                            obj.addClass("selected");
                    }
            });
    }
}
var	errorDelay = 999; // handles 404-Errors in IE
var	simultaneousCacheLoading = 2;
var loaded = 0,
	errorTimer;
var imgUrls = [
	'img/cat_btns/all-off.png',
	'img/cat_btns/restaurants-off.png',
	'img/cat_btns/casual-dining-off.png',
	'img/cat_btns/food-to-go-off.png',
	'img/cat_btns/bars-and-pubs-off.png',
	'img/cat_btns/film-and-theatre-off.png',
	'img/cat_btns/retail-off.png',
	'img/cat_btns/days-out-off.png',
	'img/cat_btns/leisure-and-entertainment-off.png',
	'img/cat_btns/health-and-beauty-off.png',
	'img/cat_btns/home-garden-and-diy-off.png',
	'img/cat_btns/travel-and-hotels-off.png',
	'img/cat_btns/professional-services-off.png',
	'img/cat_btns/auto-off.png?v3',
	'img/cat_btns/finance-and-business-off.png?v3',
	'img/barclaycard/tab.jpg',
	//'img/orange/Orange_off.png',
	'img/cat_btns/all-on.png',
	'img/cat_btns/restaurants-on.png',
	'img/cat_btns/casual-dining-on.png',
	'img/cat_btns/food-to-go-on.png',
	'img/cat_btns/bars-and-pubs-on.png',
	'img/cat_btns/film-and-theatre-on.png',
	'img/cat_btns/retail-on.png',
	'img/cat_btns/days-out-on.png',
	'img/cat_btns/leisure-and-entertainment-on.png',
	'img/cat_btns/health-and-beauty-on.png',
	'img/cat_btns/home-garden-and-diy-on.png',
	'img/cat_btns/travel-and-hotels-on.png',
	'img/cat_btns/professional-services-on.png',
	'img/cat_btns/auto-on.png?v3',
	'img/cat_btns/finance-and-business-on.png?v3',
	'img/barclaycard/tab.jpg',
	//'img/orange/Orange_on.png'
	'img/cat_btns/fashion-on.png'
	, 'img/cat_btns/fashion-off.png'
	, 'img/cat_btns/electronics-on.png'
	, 'img/cat_btns/electronics-off.png'
	, 'img/redesign2011/app_download_active.jpg'
];
	
function onImgComplete(){
	clearTimeout(errorTimer);
	if (imgUrls && imgUrls.length && imgUrls[loaded]) {
		loaded++;
		loadImgs();
	}
}
	
function loadImgs(){
	//only load 1 image at the same time / most browsers can only handle 2 http requests, 1 should remain for user-interaction (Ajax, other images, normal page requests...)
	// otherwise set simultaneousCacheLoading to a higher number for simultaneous downloads
	if(imgUrls && imgUrls.length && imgUrls[loaded]){
		var img = new Image(); //new img obj
		img.src = VC_cdn_url+imgUrls[loaded];	//set src either absolute or rel to css dir
		if(!img.complete){
			jQuery(img).bind('error load onreadystatechange', onImgComplete);
		} else {
			onImgComplete();
		}
		errorTimer = setTimeout(onImgComplete, errorDelay); // handles 404-Errors in IE
	}
}

function preloadImages() {
	var downloads = simultaneousCacheLoading;
	while( downloads--){
		setTimeout(loadImgs, downloads);
	}
}

preloadImages();


/*!
 * jCarousel - Riding carousels with jQuery
 *   http://sorgalla.com/jcarousel/
 *
 * Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Built on top of the jQuery library
 *   http://jquery.com
 *
 * Inspired by the "Carousel Component" by Bill Scott
 *   http://billwscott.com/carousel/
 */

(function(i){var q={vertical:false,rtl:false,start:1,offset:1,size:null,scroll:3,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:"<div></div>",buttonPrevHTML:"<div></div>",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null, itemFallbackDimension:null},r=false;i(window).bind("load.jcarousel",function(){r=true});i.jcarousel=function(a,c){this.options=i.extend({},q,c||{});this.autoStopped=this.locked=false;this.buttonPrevState=this.buttonNextState=this.buttonPrev=this.buttonNext=this.list=this.clip=this.container=null;if(!c||c.rtl===undefined)this.options.rtl=(i(a).attr("dir")||i("html").attr("dir")||"").toLowerCase()=="rtl";this.wh=!this.options.vertical?"width":"height";this.lt=!this.options.vertical?this.options.rtl? "right":"left":"top";for(var b="",d=a.className.split(" "),f=0;f<d.length;f++)if(d[f].indexOf("jcarousel-skin")!=-1){i(a).removeClass(d[f]);b=d[f];break}if(a.nodeName.toUpperCase()=="UL"||a.nodeName.toUpperCase()=="OL"){this.list=i(a);this.container=this.list.parent();if(this.container.hasClass("jcarousel-clip")){if(!this.container.parent().hasClass("jcarousel-container"))this.container=this.container.wrap("<div></div>");this.container=this.container.parent()}else if(!this.container.hasClass("jcarousel-container"))this.container= this.list.wrap("<div></div>").parent()}else{this.container=i(a);this.list=this.container.find("ul,ol").eq(0)}b!==""&&this.container.parent()[0].className.indexOf("jcarousel-skin")==-1&&this.container.wrap('<div class=" '+b+'"></div>');this.clip=this.list.parent();if(!this.clip.length||!this.clip.hasClass("jcarousel-clip"))this.clip=this.list.wrap("<div></div>").parent();this.buttonNext=i(".jcarousel-next",this.container);if(this.buttonNext.size()===0&&this.options.buttonNextHTML!==null)this.buttonNext= this.clip.after(this.options.buttonNextHTML).next();this.buttonNext.addClass(this.className("jcarousel-next"));this.buttonPrev=i(".jcarousel-prev",this.container);if(this.buttonPrev.size()===0&&this.options.buttonPrevHTML!==null)this.buttonPrev=this.clip.after(this.options.buttonPrevHTML).next();this.buttonPrev.addClass(this.className("jcarousel-prev"));this.clip.addClass(this.className("jcarousel-clip")).css({overflow:"hidden",position:"relative"});this.list.addClass(this.className("jcarousel-list")).css({overflow:"hidden", position:"relative",top:0,margin:0,padding:0}).css(this.options.rtl?"right":"left",0);this.container.addClass(this.className("jcarousel-container")).css({position:"relative"});!this.options.vertical&&this.options.rtl&&this.container.addClass("jcarousel-direction-rtl").attr("dir","rtl");var j=this.options.visible!==null?Math.ceil(this.clipping()/this.options.visible):null;b=this.list.children("li");var e=this;if(b.size()>0){var g=0,k=this.options.offset;b.each(function(){e.format(this,k++);g+=e.dimension(this, j)});this.list.css(this.wh,g+100+"px");if(!c||c.size===undefined)this.options.size=b.size()}this.container.css("display","block");this.buttonNext.css("display","block");this.buttonPrev.css("display","block");this.funcNext=function(){e.next()};this.funcPrev=function(){e.prev()};this.funcResize=function(){e.reload()};this.options.initCallback!==null&&this.options.initCallback(this,"init");if(!r&&i.browser.safari){this.buttons(false,false);i(window).bind("load.jcarousel",function(){e.setup()})}else this.setup()}; var h=i.jcarousel;h.fn=h.prototype={jcarousel:"0.2.7"};h.fn.extend=h.extend=i.extend;h.fn.extend({setup:function(){this.prevLast=this.prevFirst=this.last=this.first=null;this.animating=false;this.tail=this.timer=null;this.inTail=false;if(!this.locked){this.list.css(this.lt,this.pos(this.options.offset)+"px");var a=this.pos(this.options.start,true);this.prevFirst=this.prevLast=null;this.animate(a,false);i(window).unbind("resize.jcarousel",this.funcResize).bind("resize.jcarousel",this.funcResize)}}, reset:function(){this.list.empty();this.list.css(this.lt,"0px");this.list.css(this.wh,"10px");this.options.initCallback!==null&&this.options.initCallback(this,"reset");this.setup()},reload:function(){this.tail!==null&&this.inTail&&this.list.css(this.lt,h.intval(this.list.css(this.lt))+this.tail);this.tail=null;this.inTail=false;this.options.reloadCallback!==null&&this.options.reloadCallback(this);if(this.options.visible!==null){var a=this,c=Math.ceil(this.clipping()/this.options.visible),b=0,d=0; this.list.children("li").each(function(f){b+=a.dimension(this,c);if(f+1<a.first)d=b});this.list.css(this.wh,b+"px");this.list.css(this.lt,-d+"px")}this.scroll(this.first,false)},lock:function(){this.locked=true;this.buttons()},unlock:function(){this.locked=false;this.buttons()},size:function(a){if(a!==undefined){this.options.size=a;this.locked||this.buttons()}return this.options.size},has:function(a,c){if(c===undefined||!c)c=a;if(this.options.size!==null&&c>this.options.size)c=this.options.size;for(var b= a;b<=c;b++){var d=this.get(b);if(!d.length||d.hasClass("jcarousel-item-placeholder"))return false}return true},get:function(a){return i(".jcarousel-item-"+a,this.list)},add:function(a,c){var b=this.get(a),d=0,f=i(c);if(b.length===0){var j,e=h.intval(a);for(b=this.create(a);;){j=this.get(--e);if(e<=0||j.length){e<=0?this.list.prepend(b):j.after(b);break}}}else d=this.dimension(b);if(f.get(0).nodeName.toUpperCase()=="LI"){b.replaceWith(f);b=f}else b.empty().append(c);this.format(b.removeClass(this.className("jcarousel-item-placeholder")), a);f=this.options.visible!==null?Math.ceil(this.clipping()/this.options.visible):null;d=this.dimension(b,f)-d;a>0&&a<this.first&&this.list.css(this.lt,h.intval(this.list.css(this.lt))-d+"px");this.list.css(this.wh,h.intval(this.list.css(this.wh))+d+"px");return b},remove:function(a){var c=this.get(a);if(!(!c.length||a>=this.first&&a<=this.last)){var b=this.dimension(c);a<this.first&&this.list.css(this.lt,h.intval(this.list.css(this.lt))+b+"px");c.remove();this.list.css(this.wh,h.intval(this.list.css(this.wh))- b+"px")}},next:function(){this.tail!==null&&!this.inTail?this.scrollTail(false):this.scroll((this.options.wrap=="both"||this.options.wrap=="last")&&this.options.size!==null&&this.last==this.options.size?1:this.first+this.options.scroll)},prev:function(){this.tail!==null&&this.inTail?this.scrollTail(true):this.scroll((this.options.wrap=="both"||this.options.wrap=="first")&&this.options.size!==null&&this.first==1?this.options.size:this.first-this.options.scroll)},scrollTail:function(a){if(!(this.locked|| this.animating||!this.tail)){this.pauseAuto();var c=h.intval(this.list.css(this.lt));c=!a?c-this.tail:c+this.tail;this.inTail=!a;this.prevFirst=this.first;this.prevLast=this.last;this.animate(c)}},scroll:function(a,c){if(!(this.locked||this.animating)){this.pauseAuto();this.animate(this.pos(a),c)}},pos:function(a,c){var b=h.intval(this.list.css(this.lt));if(this.locked||this.animating)return b;if(this.options.wrap!="circular")a=a<1?1:this.options.size&&a>this.options.size?this.options.size:a;for(var d= this.first>a,f=this.options.wrap!="circular"&&this.first<=1?1:this.first,j=d?this.get(f):this.get(this.last),e=d?f:f-1,g=null,k=0,l=false,m=0;d?--e>=a:++e<a;){g=this.get(e);l=!g.length;if(g.length===0){g=this.create(e).addClass(this.className("jcarousel-item-placeholder"));j[d?"before":"after"](g);if(this.first!==null&&this.options.wrap=="circular"&&this.options.size!==null&&(e<=0||e>this.options.size)){j=this.get(this.index(e));if(j.length)g=this.add(e,j.clone(true))}}j=g;m=this.dimension(g);if(l)k+= m;if(this.first!==null&&(this.options.wrap=="circular"||e>=1&&(this.options.size===null||e<=this.options.size)))b=d?b+m:b-m}f=this.clipping();var p=[],o=0,n=0;j=this.get(a-1);for(e=a;++o;){g=this.get(e);l=!g.length;if(g.length===0){g=this.create(e).addClass(this.className("jcarousel-item-placeholder"));j.length===0?this.list.prepend(g):j[d?"before":"after"](g);if(this.first!==null&&this.options.wrap=="circular"&&this.options.size!==null&&(e<=0||e>this.options.size)){j=this.get(this.index(e));if(j.length)g= this.add(e,j.clone(true))}}j=g;m=this.dimension(g);if(m===0)throw Error("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...");if(this.options.wrap!="circular"&&this.options.size!==null&&e>this.options.size)p.push(g);else if(l)k+=m;n+=m;if(n>=f)break;e++}for(g=0;g<p.length;g++)p[g].remove();if(k>0){this.list.css(this.wh,this.dimension(this.list)+k+"px");if(d){b-=k;this.list.css(this.lt,h.intval(this.list.css(this.lt))-k+"px")}}k=a+o-1;if(this.options.wrap!="circular"&& this.options.size&&k>this.options.size)k=this.options.size;if(e>k){o=0;e=k;for(n=0;++o;){g=this.get(e--);if(!g.length)break;n+=this.dimension(g);if(n>=f)break}}e=k-o+1;if(this.options.wrap!="circular"&&e<1)e=1;if(this.inTail&&d){b+=this.tail;this.inTail=false}this.tail=null;if(this.options.wrap!="circular"&&k==this.options.size&&k-o+1>=1){d=h.margin(this.get(k),!this.options.vertical?"marginRight":"marginBottom");if(n-d>f)this.tail=n-f-d}if(c&&a===this.options.size&&this.tail){b-=this.tail;this.inTail= true}for(;a-- >e;)b+=this.dimension(this.get(a));this.prevFirst=this.first;this.prevLast=this.last;this.first=e;this.last=k;return b},animate:function(a,c){if(!(this.locked||this.animating)){this.animating=true;var b=this,d=function(){b.animating=false;a===0&&b.list.css(b.lt,0);if(!b.autoStopped&&(b.options.wrap=="circular"||b.options.wrap=="both"||b.options.wrap=="last"||b.options.size===null||b.last<b.options.size||b.last==b.options.size&&b.tail!==null&&!b.inTail))b.startAuto();b.buttons();b.notify("onAfterAnimation"); if(b.options.wrap=="circular"&&b.options.size!==null)for(var f=b.prevFirst;f<=b.prevLast;f++)if(f!==null&&!(f>=b.first&&f<=b.last)&&(f<1||f>b.options.size))b.remove(f)};this.notify("onBeforeAnimation");if(!this.options.animation||c===false){this.list.css(this.lt,a+"px");d()}else this.list.animate(!this.options.vertical?this.options.rtl?{right:a}:{left:a}:{top:a},this.options.animation,this.options.easing,d)}},startAuto:function(a){if(a!==undefined)this.options.auto=a;if(this.options.auto===0)return this.stopAuto(); if(this.timer===null){this.autoStopped=false;var c=this;this.timer=window.setTimeout(function(){c.next()},this.options.auto*1E3)}},stopAuto:function(){this.pauseAuto();this.autoStopped=true},pauseAuto:function(){if(this.timer!==null){window.clearTimeout(this.timer);this.timer=null}},buttons:function(a,c){if(a==null){a=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="first"||this.options.size===null||this.last<this.options.size);if(!this.locked&&(!this.options.wrap||this.options.wrap== "first")&&this.options.size!==null&&this.last>=this.options.size)a=this.tail!==null&&!this.inTail}if(c==null){c=!this.locked&&this.options.size!==0&&(this.options.wrap&&this.options.wrap!="last"||this.first>1);if(!this.locked&&(!this.options.wrap||this.options.wrap=="last")&&this.options.size!==null&&this.first==1)c=this.tail!==null&&this.inTail}var b=this;if(this.buttonNext.size()>0){this.buttonNext.unbind(this.options.buttonNextEvent+".jcarousel",this.funcNext);a&&this.buttonNext.bind(this.options.buttonNextEvent+ ".jcarousel",this.funcNext);this.buttonNext[a?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",a?false:true);this.options.buttonNextCallback!==null&&this.buttonNext.data("jcarouselstate")!=a&&this.buttonNext.each(function(){b.options.buttonNextCallback(b,this,a)}).data("jcarouselstate",a)}else this.options.buttonNextCallback!==null&&this.buttonNextState!=a&&this.options.buttonNextCallback(b,null,a);if(this.buttonPrev.size()>0){this.buttonPrev.unbind(this.options.buttonPrevEvent+ ".jcarousel",this.funcPrev);c&&this.buttonPrev.bind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev);this.buttonPrev[c?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",c?false:true);this.options.buttonPrevCallback!==null&&this.buttonPrev.data("jcarouselstate")!=c&&this.buttonPrev.each(function(){b.options.buttonPrevCallback(b,this,c)}).data("jcarouselstate",c)}else this.options.buttonPrevCallback!==null&&this.buttonPrevState!=c&&this.options.buttonPrevCallback(b, null,c);this.buttonNextState=a;this.buttonPrevState=c},notify:function(a){var c=this.prevFirst===null?"init":this.prevFirst<this.first?"next":"prev";this.callback("itemLoadCallback",a,c);if(this.prevFirst!==this.first){this.callback("itemFirstInCallback",a,c,this.first);this.callback("itemFirstOutCallback",a,c,this.prevFirst)}if(this.prevLast!==this.last){this.callback("itemLastInCallback",a,c,this.last);this.callback("itemLastOutCallback",a,c,this.prevLast)}this.callback("itemVisibleInCallback", a,c,this.first,this.last,this.prevFirst,this.prevLast);this.callback("itemVisibleOutCallback",a,c,this.prevFirst,this.prevLast,this.first,this.last)},callback:function(a,c,b,d,f,j,e){if(!(this.options[a]==null||typeof this.options[a]!="object"&&c!="onAfterAnimation")){var g=typeof this.options[a]=="object"?this.options[a][c]:this.options[a];if(i.isFunction(g)){var k=this;if(d===undefined)g(k,b,c);else if(f===undefined)this.get(d).each(function(){g(k,this,d,b,c)});else{a=function(m){k.get(m).each(function(){g(k, this,m,b,c)})};for(var l=d;l<=f;l++)l!==null&&!(l>=j&&l<=e)&&a(l)}}}},create:function(a){return this.format("<li></li>",a)},format:function(a,c){a=i(a);for(var b=a.get(0).className.split(" "),d=0;d<b.length;d++)b[d].indexOf("jcarousel-")!=-1&&a.removeClass(b[d]);a.addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+c)).css({"float":this.options.rtl?"right":"left","list-style":"none"}).attr("jcarouselindex",c);return a},className:function(a){return a+" "+a+(!this.options.vertical? "-horizontal":"-vertical")},dimension:function(a,c){var b=a.jquery!==undefined?a[0]:a,d=!this.options.vertical?(b.offsetWidth||h.intval(this.options.itemFallbackDimension))+h.margin(b,"marginLeft")+h.margin(b,"marginRight"):(b.offsetHeight||h.intval(this.options.itemFallbackDimension))+h.margin(b,"marginTop")+h.margin(b,"marginBottom");if(c==null||d==c)return d;d=!this.options.vertical?c-h.margin(b,"marginLeft")-h.margin(b,"marginRight"):c-h.margin(b,"marginTop")-h.margin(b,"marginBottom");i(b).css(this.wh, d+"px");return this.dimension(b)},clipping:function(){return!this.options.vertical?this.clip[0].offsetWidth-h.intval(this.clip.css("borderLeftWidth"))-h.intval(this.clip.css("borderRightWidth")):this.clip[0].offsetHeight-h.intval(this.clip.css("borderTopWidth"))-h.intval(this.clip.css("borderBottomWidth"))},index:function(a,c){if(c==null)c=this.options.size;return Math.round(((a-1)/c-Math.floor((a-1)/c))*c)+1}});h.extend({defaults:function(a){return i.extend(q,a||{})},margin:function(a,c){if(!a)return 0; var b=a.jquery!==undefined?a[0]:a;if(c=="marginRight"&&i.browser.safari){var d={display:"block","float":"none",width:"auto"},f,j;i.swap(b,d,function(){f=b.offsetWidth});d.marginRight=0;i.swap(b,d,function(){j=b.offsetWidth});return j-f}return h.intval(i.css(b,c))},intval:function(a){a=parseInt(a,10);return isNaN(a)?0:a}});i.fn.jcarousel=function(a){if(typeof a=="string"){var c=i(this).data("jcarousel"),b=Array.prototype.slice.call(arguments,1);return c[a].apply(c,b)}else return this.each(function(){i(this).data("jcarousel", new h(this,a))})}})(jQuery);

/* 

	jBanner  - a jQuery Banner Plugin
	
	Copyright (c) 2009 Morgan Showman
	
	Dual licensed under the MIT and GPL licenses:
	http://www.opensource.org/licenses/mit-license.php
	http://www.gnu.org/licenses/gpl.html
	
*/

(function($) {

	//define jBanner object with some default config settings
	$.jBanner = {
		defaults: {
			bannerContainer: "",
			height: 295,			// height of images
			width: 685, 			// width of images
			borderSize: '0',			// size of border around images
			borderStyle: 'none',	// style of border around images
			borderColor: 'F00',		// color of border around images
			padding: 0, 			// amount of padding (in pixels) around images
			margin: 0, 				// amount of margin (in pixels) around images
			caption: false,			// display caption? true or false
			cheight: 0, 			// caption height
			delay: 5000, 			// delay to next element
			speed: 1000 			// transition speed
		}
	};
	
	//extend jquery with the plugin
	$.fn.extend({
		jBanner:function(options) {
			
			//use defaults or properties supplied by user
			var config = $.extend({}, $.jBanner.defaults, options);

			if (!config.caption){config.cheight=0;}

			config.bannerContainer = "#"+this.attr("id");

			banner(config);

			//return the jquery object for chaining
			return this;
		}
	});
	function banner(config) {
		$(config.bannerContainer).css({'position':'relative','height':config.height+config.cheight+config.padding*2+config.margin*2+parseInt(config.borderSize)*2+'px','width':config.width+parseInt(config.borderSize)*2+'px','overflow':'hidden'});
		$(config.bannerContainer+" li").each(function(i){$(this).css({'position':'absolute','top':'0','left':i*(config.width+config.padding*2+config.margin*2+parseInt(config.borderSize)*2)+'px'});
		//$(this).attr("value",i+1); // SASH
		$(this).children("a").after("<p>"+$(this).children("a").children("img").attr("alt")+"</p>");});
		$(config.bannerContainer+" li:first").addClass("selected");
		$(config.bannerContainer+" li img").css({'border':config.borderSize+'px '+config.borderStyle+' #'+config.borderColor,'height':config.height,'width':config.width});
		setTimeout( function(){next(config)}, config.delay);
	};
	function next(config) {
		var i = parseInt($(config.bannerContainer+" li.selected").attr("value")); // SASH
		if (LastElement(config,i)){$(config.bannerContainer+" li[value='"+NextElement(config,i)+"']").css('left',(config.width+config.padding*2+config.margin*2+parseInt(config.borderSize)*2)+'px');} // SASH
		
		$(config.bannerContainer+" li[value='"+i+"']").removeClass("selected"); // SASH
		$(config.bannerContainer+" li[value='"+(NextElement(config,i))+"']").addClass("selected"); // SASH
		
		$(config.bannerContainer+" li").each(function(i){var newLeft = parseInt( $(this).css("left").replace(/px/i, '') )-(config.width+config.padding*2+config.margin*2+parseInt(config.borderSize)*2);$(this).animate({'left':newLeft+'px'},config.speed);}); //+250
		setTimeout( function(){next(config)}, config.delay);
	};
	function NextElement(config,index) {
		if(index < parseInt($(config.bannerContainer+" li:last").attr("value"))) {return index + 1;} else {return 1;} // SASH
	};
	function LastElement(config,index) {
		return (parseInt($(config.bannerContainer+" li[value='"+NextElement(config,index)+"']").css("left").replace(/px/i, '')) == (1 - parseInt($(config.bannerContainer+" li:last").attr("value")))*(config.width+config.padding*2+config.margin*2+parseInt(config.borderSize)*2)); // SASH
	};
})(jQuery);
/**
 * jQuery.ScrollTo - Easy element scrolling using jQuery.
 * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 5/25/2009
 * @author Ariel Flesler
 * @version 1.4.2
 *
 * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
 */
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);

/*
   Behaviour v1.1 by Ben Nolan, June 2005. Based largely on the work
   of Simon Willison (see comments by Simon below).

   Description:
   	
   	Uses css selectors to apply javascript behaviours to enable
   	unobtrusive javascript in html documents.
   	
   Usage:   
   
	var myrules = {
		'b.someclass' : function(element){
			element.onclick = function(){
				alert(this.innerHTML);
			}
		},
		'#someid u' : function(element){
			element.onmouseover = function(){
				this.innerHTML = "BLAH!";
			}
		}
	};
	
	Behaviour.register(myrules);
	
	// Call Behaviour.apply() to re-apply the rules (if you
	// update the dom, etc).

   License:
   
   	This file is entirely BSD licensed.
   	
   More information:
   	
   	http://ripcord.co.nz/behaviour/
   
*/   

var Behaviour = {
	list : new Array,
	
	register : function(sheet){
		Behaviour.list.push(sheet);
	},
	
	start : function(){
		Behaviour.addLoadEvent(function(){
			Behaviour.apply();
		});
	},
	
	apply : function(){
		for (h=0;sheet=Behaviour.list[h];h++){
			for (selector in sheet){
				list = document.getElementsBySelector(selector);
				
				if (!list){
					continue;
				}

				for (i=0;element=list[i];i++){
					sheet[selector](element);
				}
			}
		}
	},
	
	addLoadEvent : function(func){
		var oldonload = window.onload;
		
		if (typeof window.onload != 'function') {
			window.onload = func;
		} else {
			window.onload = function() {
				oldonload();
				func();
			}
		}
	}
}

Behaviour.start();

/*
   The following code is Copyright (C) Simon Willison 2004.

   document.getElementsBySelector(selector)
   - returns an array of element objects from the current document
     matching the CSS selector. Selectors can contain element names, 
     class names and ids and can be nested. For example:
     
       elements = document.getElementsBySelect('div#main p a.external')
     
     Will return an array of all 'a' elements with 'external' in their 
     class attribute that are contained inside 'p' elements that are 
     contained inside the 'div' element which has id="main"

   New in version 0.4: Support for CSS2 and CSS3 attribute selectors:
   See http://www.w3.org/TR/css3-selectors/#attribute-selectors

   Version 0.4 - Simon Willison, March 25th 2003
   -- Works in Phoenix 0.5, Mozilla 1.3, Opera 7, Internet Explorer 6, Internet Explorer 5 on Windows
   -- Opera 7 fails 
*/

function getAllChildren(e) {
  // Returns all children of element. Workaround required for IE5/Windows. Ugh.
  return e.all ? e.all : e.getElementsByTagName('*');
}

document.getElementsBySelector = function(selector) {
  // Attempt to fail gracefully in lesser browsers
  if (!document.getElementsByTagName) {
    return new Array();
  }
  // Split selector in to tokens
  var tokens = selector.split(' ');
  var currentContext = new Array(document);
  for (var i = 0; i < tokens.length; i++) {
    token = tokens[i].replace(/^\s+/,'').replace(/\s+$/,'');;
    if (token.indexOf('#') > -1) {
      // Token is an ID selector
      var bits = token.split('#');
      var tagName = bits[0];
      var id = bits[1];
      var element = document.getElementById(id);
      if (tagName && element.nodeName.toLowerCase() != tagName) {
        // tag with that ID not found, return false
        return new Array();
      }
      // Set currentContext to contain just this element
      currentContext = new Array(element);
      continue; // Skip to next token
    }
    if (token.indexOf('.') > -1) {
      // Token contains a class selector
      var bits = token.split('.');
      var tagName = bits[0];
      var className = bits[1];
      if (!tagName) {
        tagName = '*';
      }
      // Get elements matching tag, filter them for class selector
      var found = new Array;
      var foundCount = 0;
      for (var h = 0; h < currentContext.length; h++) {
        var elements;
        if (tagName == '*') {
            elements = getAllChildren(currentContext[h]);
        } else {
            elements = currentContext[h].getElementsByTagName(tagName);
        }
        for (var j = 0; j < elements.length; j++) {
          found[foundCount++] = elements[j];
        }
      }
      currentContext = new Array;
      var currentContextIndex = 0;
      for (var k = 0; k < found.length; k++) {
        if (found[k].className && found[k].className.match(new RegExp('\\b'+className+'\\b'))) {
          currentContext[currentContextIndex++] = found[k];
        }
      }
      continue; // Skip to next token
    }
    // Code to deal with attribute selectors
    if (token.match(/^(\w*)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/)) {
      var tagName = RegExp.$1;
      var attrName = RegExp.$2;
      var attrOperator = RegExp.$3;
      var attrValue = RegExp.$4;
      if (!tagName) {
        tagName = '*';
      }
      // Grab all of the tagName elements within current context
      var found = new Array;
      var foundCount = 0;
      for (var h = 0; h < currentContext.length; h++) {
        var elements;
        if (tagName == '*') {
            elements = getAllChildren(currentContext[h]);
        } else {
            elements = currentContext[h].getElementsByTagName(tagName);
        }
        for (var j = 0; j < elements.length; j++) {
          found[foundCount++] = elements[j];
        }
      }
      currentContext = new Array;
      var currentContextIndex = 0;
      var checkFunction; // This function will be used to filter the elements
      switch (attrOperator) {
        case '=': // Equality
          checkFunction = function(e) { return (e.getAttribute(attrName) == attrValue); };
          break;
        case '~': // Match one of space seperated words 
          checkFunction = function(e) { return (e.getAttribute(attrName).match(new RegExp('\\b'+attrValue+'\\b'))); };
          break;
        case '|': // Match start with value followed by optional hyphen
          checkFunction = function(e) { return (e.getAttribute(attrName).match(new RegExp('^'+attrValue+'-?'))); };
          break;
        case '^': // Match starts with value
          checkFunction = function(e) { return (e.getAttribute(attrName).indexOf(attrValue) == 0); };
          break;
        case '$': // Match ends with value - fails with "Warning" in Opera 7
          checkFunction = function(e) { return (e.getAttribute(attrName).lastIndexOf(attrValue) == e.getAttribute(attrName).length - attrValue.length); };
          break;
        case '*': // Match ends with value
          checkFunction = function(e) { return (e.getAttribute(attrName).indexOf(attrValue) > -1); };
          break;
        default :
          // Just test for existence of attribute
          checkFunction = function(e) { return e.getAttribute(attrName); };
      }
      currentContext = new Array;
      var currentContextIndex = 0;
      for (var k = 0; k < found.length; k++) {
        if (checkFunction(found[k])) {
          currentContext[currentContextIndex++] = found[k];
        }
      }
      // alert('Attribute Selector: '+tagName+' '+attrName+' '+attrOperator+' '+attrValue);
      continue; // Skip to next token
    }
    
    if (!currentContext[0]){
    	return;
    }
    
    // If we get here, token is JUST an element (not a class or ID selector)
    tagName = token;
    var found = new Array;
    var foundCount = 0;
    for (var h = 0; h < currentContext.length; h++) {
      var elements = currentContext[h].getElementsByTagName(tagName);
      for (var j = 0; j < elements.length; j++) {
        found[foundCount++] = elements[j];
      }
    }
    currentContext = found;
  }
  return currentContext;
}

/* That revolting regular expression explained 
/^(\w+)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/
  \---/  \---/\-------------/    \-------/
    |      |         |               |
    |      |         |           The value
    |      |    ~,|,^,$,* or =
    |   Attribute 
   Tag
*/

/*
Page:           rating.js
Created:        Aug 2006
Last Mod:       Mar 11 2007
Handles actions and requests for rating bars.	
--------------------------------------------------------- 
ryan masuga, masugadesign.com
ryan@masugadesign.com 
Licensed under a Creative Commons Attribution 3.0 License.
http://creativecommons.org/licenses/by/3.0/
See readme.txt for full credit details.
--------------------------------------------------------- */

var xmlhttp
	/*@cc_on @*/
	/*@if (@_jscript_version >= 5)
	  try {
	  xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")
	 } catch (e) {
	  try {
	    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
	  } catch (E) {
	   xmlhttp=false
	  }
	 }
	@else
	 xmlhttp=false
	@end @*/
	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
	 try {
	  xmlhttp = new XMLHttpRequest();
	 } catch (e) {
	  xmlhttp=false
	 }
	}
	function myXMLHttpRequest() {
	  var xmlhttplocal;
	  try {
	    xmlhttplocal= new ActiveXObject("Msxml2.XMLHTTP")
	 } catch (e) {
	  try {
	    xmlhttplocal= new ActiveXObject("Microsoft.XMLHTTP")
	  } catch (E) {
	    xmlhttplocal=false;
	  }
	 }

	if (!xmlhttplocal && typeof XMLHttpRequest!='undefined') {
	 try {
	  var xmlhttplocal = new XMLHttpRequest();
	 } catch (e) {
	  var xmlhttplocal=false;
	  alert('couldn\'t create xmlhttp object');
	 }
	}
	return(xmlhttplocal);
}

function sndReq(vote,id_num,ip_num,units) {
	var theUL = document.getElementById('unit_ul'+id_num); // the UL
	
	// switch UL with a loading div
	theUL.innerHTML = '<div class="loading"></div>';
	
    xmlhttp.open('get', '/rpc.php?j='+vote+'&q='+id_num+'&t='+ip_num+'&c='+units);
    xmlhttp.onreadystatechange = handleResponse;
    xmlhttp.send(null);	
}

function handleResponse() {
  if(xmlhttp.readyState == 4){
		if (xmlhttp.status == 200){
       	
        var response = xmlhttp.responseText;
        var update = new Array();

        if(response.indexOf('|') != -1) {
            update = response.split('|');
            changeText(update[0], update[1]);
        }
		}
    }
}

function changeText( div2show, text ) {
    // Detect Browser
    var IE = (document.all) ? 1 : 0;
    var DOM = 0; 
    if (parseInt(navigator.appVersion) >=5) {DOM=1};

    // Grab the content from the requested "div" and show it in the "container"
    if (DOM) {
        var viewer = document.getElementById(div2show);
        viewer.innerHTML = text;
    }  else if(IE) {
        document.all[div2show].innerHTML = text;
    }
}

/* =============================================================== */

$(document).ready(function () {
	$('.rater').each(function() {
		$(this).click(function() {
			var parameterString = $(this).attr('href').replace(/.*\?(.*)/, "$1"); // onclick="sndReq('j=1&q=2&t=127.0.0.1&c=5');
			var parameterTokens = parameterString.split("&"); // onclick="sndReq('j=1,q=2,t=127.0.0.1,c=5');
			var parameterList = new Array();

			for (j = 0; j < parameterTokens.length; j++) {
				var parameterName = parameterTokens[j].replace(/(.*)=.*/, "$1"); // j
				var parameterValue = parameterTokens[j].replace(/.*=(.*)/, "$1"); // 1
				parameterList[parameterName] = parameterValue;
			}
			var theratingID = parameterList['q'];
			var theVote = parameterList['j'];
			var theuserIP = parameterList['t'];
			var theunits = parameterList['c'];
			
			//for testing	alert('sndReq('+theVote+','+theratingID+','+theuserIP+','+theunits+')'); return false;
			sndReq(theVote,theratingID,theuserIP,theunits); return false;				});
	});
});

var Imgs = [];
var Objs = [];
var reload_list = 0;

var object_to_load = {
	'fb_box': 
	//'<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fvouchercloud&amp;width=250&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23ffffff&amp;stream=false&amp;header=false&amp;appId=241191475935286" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:258px;" allowTransparency="true"></iframe>'
	'<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fvouchercloud&amp;width=250&amp;height=335&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23ffffff&amp;stream=false&amp;header=false&amp;appId=241191475935286" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:335px;" allowTransparency="true"></iframe>'
};



function ImgLoad(cls){
	var as=coordsByClassName(cls);
	for (var z0=0;z0<as.length;z0++){
		if (as[z0].getAttribute('rel')&&as[z0].getElementsByTagName(cls)[0]){
			oop=new Fade(as[z0].getElementsByTagName(cls)[0],as[z0].getAttribute('rel'));
			oop.changed = 0;
			Imgs.push(oop);
		}
	}
	CkTop();
}

function Fade(img,src){
	this.img=img;
	this.src=src;
	this.opc=0;
	setOpacity(this.img,0);
}

// Disabled as it was messing with animations
Fade.prototype.fade=function(){
	this.img.src=this.src;
 	setOpacity(this.img,100);
}

function CkTop(){
	for (var z0=0;z0<Imgs.length;z0++){
		if (zxcPos(Imgs[z0].img)[1]<getWindowWidthHeight()[1]+getWindowWidthHeight()[3]&&Imgs[z0].opc==0&&Imgs[z0].changed == 0){
			Imgs[z0].fade();
			Imgs.splice(z0,1);
			z0--;
		}
	}

	for (var z0=0;z0<Objs.length;z0++){
		if(Objs[z0]['obj'].innerHTML == '') {
		}
		if (zxcPos(Objs[z0]['obj'])[1]<getWindowWidthHeight()[1]+getWindowWidthHeight()[3] && Objs[z0]['obj'].innerHTML == ''){
			Objs[z0]['obj'].innerHTML = object_to_load[Objs[z0]['key']];
		}
	}
}

function setOpacity(obj,opc){
	if (opc>=0 && opc<=100) {
		obj.style.filter='alpha(opacity='+opc+')';
		obj.style.opacity=obj.style.MozOpacity=obj.style.KhtmlOpacity=opc/100-.001;
	}
}

function getWindowWidthHeight(){
	if (window.innerHeight) {
		return [window.innerWidth-10,window.innerHeight-10,window.pageXOffset,window.pageYOffset];
	} else if (document.documentElement.clientHeight) {
		return [document.documentElement.clientWidth-10,document.documentElement.clientHeight-10,document.documentElement.scrollLeft,document.documentElement.scrollTop];
	}

	return [document.body.clientWidth,document.body.clientHeight,document.body.scrollLeft,document.body.scrollTop];
}

// Offsets are recordrd relative to the parent object so this function traverses the object tree recording offsets
function zxcPos(obj){
	var rtn=[0,0];
	while(obj){
		rtn[0]+=obj.offsetLeft;
		rtn[1]+=obj.offsetTop;
		obj=obj.offsetParent;
	}
	return rtn;
}


function coordsByClassName(nme,el,tag){
	if (typeof(el)=='string') {
			el=document.getElementById(el);
	}
	el=el||document;

	for (var tag=tag||'*',reg=new RegExp('\\b'+nme+'\\b'),els=el.getElementsByTagName(tag),ary=[],z0=0; z0<els.length;z0++) {
 		if(reg.test(els[z0].className)) {
			ary.push(els[z0]);
		}
	}
	return ary;
}

// Handles the loading of javascript and css files
function loadjscssfile(filename, filetype){
	if (filetype=="js") { //if filename is a external JavaScript file
		var fileref=document.createElement('script')
		fileref.setAttribute("type","text/javascript")
		fileref.setAttribute("src", filename)
	} else if (filetype=="css") { //if filename is an external CSS file
		var fileref=document.createElement("link")
		fileref.setAttribute("rel", "stylesheet")
		fileref.setAttribute("type", "text/css")
		fileref.setAttribute("href", filename)
	}

	// Add it to the DOM
	if (typeof fileref!="undefined") {
		document.getElementsByTagName("head")[0].appendChild(fileref);
	}
}


window.onscroll=CkTop;
$(document).ready(function() {
	for(var i in object_to_load) {
		if(document.getElementById(i)) { 
			topush = {
				'key': i, 
				'obj':document.getElementById(i)
			};
			Objs.push(topush);
		}
	}
	ImgLoad('img');

	var t = setInterval(function() {
		//if(reload_list > 0) {
			//reload_list--;
		//if(reload_list == 0) {
			Imgs = [];
			reload_list = 0;
			ImgLoad('img');
		//}
		//}
	}, 5000);
});

/**
 * jquery.autocomplete.js
 * Copyright (c) Dylan Verheul <dylan.verheul@gmail.com>
 * MIT license
 * http://code.google.com/p/jquery-autocomplete/
 */
(function($) {

    /**
     * Autocompleter Object
     * @param {jQuery} $elem jQuery object with one input tag
     * @param {Object=} options Settings
     * @constructor
     */
    $.Autocompleter = function($elem, options) {

        /**
         * Cached data
         * @type Object
         * @private
         */
        this.cacheData_ = {};

        /**
         * Number of cached data items
         * @type number
         * @private
         */
        this.cacheLength_ = 0;

        /**
         * Class name to mark selected item
         * @type string
         * @private
         */
    	this.selectClass_ = 'jquery-autocomplete-selected-item';

    	/**
    	 * Handler to activation timeout
    	 * @type ?number
    	 * @private
    	 */
        this.keyTimeout_ = null;

    	/**
    	 * Last key pressed in the input field (store for behavior)
    	 * @type ?number
    	 * @private
    	 */
        this.lastKeyPressed_ = null;

    	/**
    	 * Last value processed by the autocompleter
    	 * @type ?string
    	 * @private
    	 */
        this.lastProcessedValue_ = null;

    	/**
    	 * Last value selected by the user
    	 * @type ?string
    	 * @private
    	 */
        this.lastSelectedValue_ = null;

    	/**
    	 * Is this autocompleter active?
    	 * @type boolean
    	 * @private
    	 */
        this.active_ = false;

    	/**
    	 * Is it OK to finish on blur?
    	 * @type boolean
    	 * @private
    	 */
        this.finishOnBlur_ = true;

        /**
         * Assert parameters
         */
        if (!$elem || !($elem instanceof jQuery) || $elem.length !== 1 || $elem.get(0).tagName.toUpperCase() !== 'INPUT') {
            alert('Invalid parameter for jquery.Autocompleter, jQuery object with one element with INPUT tag expected');
            return;
        }

        /**
         * Init and sanitize options
         */
        if (typeof options === 'string') {
            this.options = { url:options };
        } else {
            this.options = options;
        }
		this.options.maxCacheLength = parseInt(this.options.maxCacheLength, 10);
		if (isNaN(this.options.maxCacheLength) || this.options.maxCacheLength < 1) {
			this.options.maxCacheLength = 1;
		}
		this.options.minChars = parseInt(this.options.minChars, 10);
		if (isNaN(this.options.minChars) || this.options.minChars < 1) {
			this.options.minChars = 1;
		}

        /**
         * Init DOM elements repository
         */
        this.dom = {};

        /**
         * Store the input element we're attached to in the repository, add class
         */
        this.dom.$elem = $elem;
		if (this.options.inputClass) {
			this.dom.$elem.addClass(this.options.inputClass);
		}

        /**
         * Create DOM element to hold results
         */
		this.dom.$results = $('<div></div>').hide();
		if (this.options.resultsClass) {
			this.dom.$results.addClass(this.options.resultsClass);
		}
		this.dom.$results.css({
			position: 'absolute'
		});
		$('body').append(this.dom.$results);

        /**
         * Shortcut to self
         */
        var self = this;

        /**
         * Attach keyboard monitoring to $elem
         */
		$elem.keydown(function(e) {
			self.lastKeyPressed_ = e.keyCode;
			switch(self.lastKeyPressed_) {

				case 38: // up
					e.preventDefault();
					if (self.active_) {
						self.focusPrev();
					} else {
						self.activate();
					}
					return false;
				break;

				case 40: // down
					e.preventDefault();
					if (self.active_) {
						self.focusNext();
					} else {
						self.activate();
					}
					return false;
				break;

				case 9: // tab
				case 13: // return
				
					if (self.active_) {
						//e.preventDefault(); // sash
						self.selectCurrent();
						//return false;// sash
					}
				break;

				case 27: // escape
					if (self.active_) {
						e.preventDefault();
						self.finish();
						return false;
					}
				break;

				default:
					self.activate();

			}
		});
		$elem.blur(function() {
			if (self.finishOnBlur_) {
				setTimeout(function() { self.finish(); }, 200);
			}
		});

    };

    $.Autocompleter.prototype.position = function() {
        var offset = this.dom.$elem.offset();
		this.dom.$results.css({
			top: offset.top + this.dom.$elem.outerHeight(),
			left: offset.left
		});
    };

	$.Autocompleter.prototype.cacheRead = function(filter) {
		var filterLength, searchLength, search, maxPos, pos;
		if (this.options.useCache) {
			filter = String(filter);
			filterLength = filter.length;
			
			//console.log('filter:', filter);
			//console.log('filterLength:', filterLength);
			
			if (this.options.matchSubset) {
				searchLength = 1;
			} else {
				searchLength = filterLength;
			}
			
			//console.log('searchLength:', searchLength);
			
			
			
			while (searchLength <= filterLength) {
				if (this.options.matchInside) {
					maxPos = filterLength - searchLength;
				} else {
					maxPos = 0;
				}
				//console.log('maxPos:', maxPos);
				pos = 0;
				while (pos <= maxPos) {
					search = filter.substr(0, searchLength);
					//console.log('search: ', search);
					if (this.cacheData_[search] !== undefined) {
						
						////console.log('Cache contents: ', this.cacheData_[search]);
						
						return this.cacheData_[search];
					}
					pos++;
				}
				searchLength++;
			}
		}
		return false;
    };

	$.Autocompleter.prototype.cacheWrite = function(filter, data) {
		if (this.options.useCache) {
			if (this.cacheLength_ >= this.options.maxCacheLength) {
				this.cacheFlush();
			}
			filter = String(filter);
			if (this.cacheData_[filter] !== undefined) {
				this.cacheLength_++;
			}
			return this.cacheData_[filter] = data;
		}
		return false;
    };

	$.Autocompleter.prototype.cacheFlush = function() {
	    this.cacheData_ = {};
	    this.cacheLength_ = 0;
    };

	$.Autocompleter.prototype.callHook = function(hook, data) {
		var f = this.options[hook];
		if (f && $.isFunction(f)) {
			return f(data, this);
		}
		return false;
	};

	$.Autocompleter.prototype.activate = function() {
	    var self = this;
	    var activateNow = function() {
	        self.activateNow();
	    };
		var delay = parseInt(this.options.delay, 10);
		if (isNaN(delay) || delay <= 0) {
			delay = 250;
		}
		if (this.keyTimeout_) {
			clearTimeout(this.keyTimeout_);
		}
		this.keyTimeout_ = setTimeout(activateNow, delay);
	};

    $.Autocompleter.prototype.activateNow = function() {
		var value = this.dom.$elem.val();
		if (value !== this.lastProcessedValue_ && value !== this.lastSelectedValue_) {
			this.active_ = true;
			this.lastProcessedValue_ = value;

			if (value.length >= this.options.minChars) {
				this.fetchData(value);
			}
			else
			{
				// MORE SASH HACKS!!! - empty results
				this.filterAndShowResults({}, value);
			}
		}
	};

	$.Autocompleter.prototype.fetchData = function(value) {
		if (this.options.data) {
			this.filterAndShowResults(this.options.data, value);
		} else {
		    var self = this;
			this.fetchRemoteData(value, function(remoteData) {
				self.filterAndShowResults(remoteData, value);
			});
		}
	};

	$.Autocompleter.prototype.fetchRemoteData = function(filter, callback) {
		var data = this.cacheRead(filter);
		if (data) {
			callback(data);
		} else {
		    var self = this;
			this.dom.$elem.addClass(this.options.loadingClass);
		    var ajaxCallback = function(data) {
		        var parsed = false;
		        if (data !== false) {
    				parsed = self.parseRemoteData(data);
    				self.cacheWrite(filter, parsed);
		        }
				self.dom.$elem.removeClass(self.options.loadingClass);
				callback(parsed);
		    };
			$.ajax({
                url: this.makeUrl(filter),
                success: ajaxCallback,
				error: function() {
				    ajaxCallback(false);
				}
            });
		}
	};

    $.Autocompleter.prototype.setExtraParam = function(name, value) {
        var index = $.trim(String(name));
        if (index) {
            if (!this.options.extraParams) {
                this.options.extraParams = {};
            }
            if (this.options.extraParams[index] !== value) {
                this.options.extraParams[index] = value;
                this.cacheFlush();
            }
        }
    };

	$.Autocompleter.prototype.makeUrl = function(param) {
	    var self = this;
		var paramName = this.options.paramName || 'q';
		var url = this.options.url;
		var params = $.extend({}, this.options.extraParams);
		// If options.paramName === false, append query to url
		// instead of using a GET parameter
		if (this.options.paramName === false) {
		    url += encodeURIComponent(param);
		} else {
    		params[paramName] = param;
		}
		var urlAppend = [];
		$.each(params, function(index, value) {
			urlAppend.push(self.makeUrlParam(index, value));
		});
		if (urlAppend.length) {
    		url += url.indexOf('?') == -1 ? '?' : '&';
    		url += urlAppend.join('&');
		}
		return url;
	};

	$.Autocompleter.prototype.makeUrlParam = function(name, value) {
		return String(name) + '=' + encodeURIComponent(value);
	}

	$.Autocompleter.prototype.parseRemoteData = function(remoteData) {
		var results = [];
		var text = String(remoteData).replace('\r\n', '\n');
		var i, j, data, line, lines = text.split('\n');
		var value;
		for (i = 0; i < lines.length; i++) {
			line = lines[i].split('|');
			data = [];
			for (j = 0; j < line.length; j++) {
				data.push(unescape(line[j]));
			}
			value = data.shift();
			results.push({ value: unescape(value), data: data });
		}
		return results;
	};

	$.Autocompleter.prototype.filterAndShowResults = function(results, filter) {
		this.showResults(this.filterResults(results, filter), filter);
	};

	$.Autocompleter.prototype.filterResults = function(results, filter) {

		var filtered = [];
		var value, data, i, result, type, include;
		var regex, pattern, attributes = '';
		var specials = new RegExp("[.*+?|()\\[\\]{}\\\\]", "g"); // .*+?|()[]{}\

		for (i = 0; i < results.length; i++) {
			result = results[i];
			type = typeof result;
			if (type === 'string') {
				value = result;
				data = {};
			} else if ($.isArray(result)) {
				value = result[0];
				data = result.slice(1);
			} else if (type === 'object') {
				value = result.value;
				data = result.data;
			}
			value = String(value);
			if (value > '') {
				if (typeof data !== 'object') {
					data = {};
				}
				include = !this.options.filterResults;
				if (!include) {
    				pattern = String(filter);
    				pattern = pattern.replace(specials, '\\$&');
    				if (!this.options.matchInside) {
    					pattern = '^' + pattern;
    				}
    				if (!this.options.matchCase) {
    					attributes = 'i';
    				}
    				regex = new RegExp(pattern, attributes);
    				include = regex.test(value);
				}
				if (include) {
    				filtered.push({ value: value, data: data });
				}
			}
		}

		if (this.options.sortResults) {
			filtered = this.sortResults(filtered, filter);
		}

		if (this.options.maxItemsToShow > 0 && this.options.maxItemsToShow < filtered.length) {
			filtered.length = this.options.maxItemsToShow;
		}

		return filtered;

	};

	$.Autocompleter.prototype.sortResults = function(results, filter) {
	    var self = this;
		var sortFunction = this.options.sortFunction;
		if (!$.isFunction(sortFunction)) {
			sortFunction = function(a, b, f) {
				return self.sortValueAlpha(a, b, f);
			};
		}
		results.sort(function(a, b) {
			return sortFunction(a, b, filter);
		});
		return results;
	};

	$.Autocompleter.prototype.sortValueAlpha = function(a, b, filter) {
		a = String(a.value);
		b = String(b.value);
		if (!this.options.matchCase) {
			a = a.toLowerCase();
			b = b.toLowerCase();
		}
		if (a > b) {
			return 1;
		}
		if (a < b) {
			return -1;
		}
		return 0;
	};

	$.Autocompleter.prototype.showResults = function(results, filter) {
	    var self = this;
		var $ul = $('<ul></ul>');
		var i, result, $li, extraWidth, first = false, $first = false;
		var numResults = results.length;
		var filterLength = filter.length, highlightPos;
		for (i = 0; i < numResults; i++) {
			result = results[i];

			// Sash edit
			if (this.options.highlight) result.value = '<b>' + result.value.substr(0, filterLength) + '</b>' + result.value.substr(filterLength);
			
			$li = $('<li>' + this.showResult(result.value, result.data) + '</li>');
			$li.data('value', result.value);
			$li.data('data', result.data);
			$li.click(function() {
				var $this = $(this);
				self.selectItem($this);
			}).mousedown(function() {
				self.finishOnBlur_ = false;
			}).mouseup(function() {
				self.finishOnBlur_ = true;
			});
			$ul.append($li);
			if (first === false) {
				first = String(result.value);
				$first = $li;
				$li.addClass(this.options.firstItemClass);
			}
			if (i == numResults - 1) {
				$li.addClass(this.options.lastItemClass);
			}
		}

		// Alway recalculate position before showing since window size or
		// input element location may have changed. This fixes #14
		this.position();

		this.dom.$results.html($ul).show();
		extraWidth = this.dom.$results.outerWidth() - this.dom.$results.width();
		this.dom.$results.width(this.dom.$elem.outerWidth() - extraWidth);
		$('li', this.dom.$results).hover(
			function() { self.focusItem(this); },
			function() { /* void */ }
		);
		if (this.autoFill(first, filter)) {
			this.focusItem($first);
		}
	};

	$.Autocompleter.prototype.showResult = function(value, data) {
		if ($.isFunction(this.options.showResult)) {
			return this.options.showResult(value, data);
		} else {
			////console.log('Data: ', data);
			return value;
		}
	};

	$.Autocompleter.prototype.autoFill = function(value, filter) {
		var lcValue, lcFilter, valueLength, filterLength;
		if (this.options.autoFill && this.lastKeyPressed_ != 8) {
			lcValue = String(value).toLowerCase();
			lcFilter = String(filter).toLowerCase();
			valueLength = value.length;
			filterLength = filter.length;
			if (lcValue.substr(0, filterLength) === lcFilter) {
				this.dom.$elem.val(value);
				this.selectRange(filterLength, valueLength);
				return true;
			}
		}
		return false;
	};

	$.Autocompleter.prototype.focusNext = function() {
		this.focusMove(+1);
	};

	$.Autocompleter.prototype.focusPrev = function() {
		this.focusMove(-1);
	};

	$.Autocompleter.prototype.focusMove = function(modifier) {
		var i, $items = $('li', this.dom.$results);
		modifier = parseInt(modifier, 10);
		for (var i = 0; i < $items.length; i++) {
			if ($($items[i]).hasClass(this.selectClass_)) {
				this.focusItem(i + modifier);
				return;
			}
		}
		this.focusItem(0);
	};

	$.Autocompleter.prototype.focusItem = function(item) {
		var $item, $items = $('li', this.dom.$results);
		if ($items.length) {
			$items.removeClass(this.selectClass_).removeClass(this.options.selectClass);
			if (typeof item === 'number') {
				item = parseInt(item, 10);
				if (item < 0) {
					item = 0;
				} else if (item >= $items.length) {
					item = $items.length - 1;
				}
				$item = $($items[item]);
			} else {
				$item = $(item);
			}
			if ($item) {
				$item.addClass(this.selectClass_).addClass(this.options.selectClass);
			}
		}
	};

	$.Autocompleter.prototype.selectCurrent = function() {
		var $item = $('li.' + this.selectClass_, this.dom.$results);
		if ($item.length == 1) {
			this.selectItem($item);
		} else {
			this.finish();
		}
	};

	$.Autocompleter.prototype.selectItem = function($li) {
		var value = $li.data('value');
		
		// Just a little hack by Sash....
		if (this.options.highlight) value = value.replace('<b>', '').replace('</b>', '');
		
		var data = $li.data('data');
		var displayValue = this.displayValue(value, data);
		this.lastProcessedValue_ = displayValue;
		this.lastSelectedValue_ = displayValue;
		this.dom.$elem.val(displayValue).focus();
		this.setCaret(displayValue.length);
		this.callHook('onItemSelect', { value: value, data: data });
		this.finish();
	};

	$.Autocompleter.prototype.displayValue = function(value, data) {
		if ($.isFunction(this.options.displayValue)) {
			return this.options.displayValue(value, data);
		} else {
			return value;
		}
	};

	$.Autocompleter.prototype.finish = function() {
		if (this.keyTimeout_) {
			clearTimeout(this.keyTimeout_);
		}
		if (this.dom.$elem.val() !== this.lastSelectedValue_) {
			if (this.options.mustMatch) {
				this.dom.$elem.val('');
			}
			this.callHook('onNoMatch');
		}
		this.dom.$results.hide();
		this.lastKeyPressed_ = null;
		this.lastProcessedValue_ = null;
		if (this.active_) {
			this.callHook('onFinish');
		}
		this.active_ = false;
	};

	$.Autocompleter.prototype.selectRange = function(start, end) {
		var input = this.dom.$elem.get(0);
		if (input.setSelectionRange) {
			input.focus();
			input.setSelectionRange(start, end);
		} else if (this.createTextRange) {
			var range = this.createTextRange();
			range.collapse(true);
			range.moveEnd('character', end);
			range.moveStart('character', start);
			range.select();
		}
	};

	$.Autocompleter.prototype.setCaret = function(pos) {
		this.selectRange(pos, pos);
	};

    /**
     * autocomplete plugin
     */
    $.fn.autocomplete = function(options) {
        if (typeof options === 'string') {
            options = {
                url: options
            };
        }
        var o = $.extend({}, $.fn.autocomplete.defaults, options);
		return this.each(function() {
		    var $this = $(this);
		    var ac = new $.Autocompleter($this, o);
		    $this.data('autocompleter', ac);
		});

	};

    /**
     * Default options for autocomplete plugin
     */
	$.fn.autocomplete.defaults = {
	    paramName: 'q',
		minChars: 1,
		loadingClass: 'acLoading',
		resultsClass: 'acResults',
		inputClass: 'acInput',
		selectClass: 'acSelect',
		mustMatch: false,
		matchCase: false,
		matchInside: true,
		matchSubset: true,
		useCache: true,
		maxCacheLength: 10,
		autoFill: false,
		filterResults: true,
		sortResults: true,
		sortFunction: false,
		onItemSelect: false,
		onNoMatch: false,
		maxItemsToShow: -1,
		// added by sash
		highlight: false,
		doubleEnter: true
	};

})(jQuery);

/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 *
 * @version 1.09i
 */
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}),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},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 D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};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(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}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,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,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 C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}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(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}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={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,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){if(!D){return m}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(C.autoDetect){delete C.fontFamily}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)}else{delete C.textGradient}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("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 h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());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{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").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(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Digitized data copyright (C) 1992 - 1997 The Monotype Corporation.  Rockwell®
 * is a trademark of The Monotype Corporation which may be registered in certain
 * jurisdictions. Portions copyright Microsoft  Corporation.  All rights reserved.
 * 
 * Trademark:
 * Rockwell® is a trademark of The Monotype Corporation which may be registered in
 * certain jurisdictions.
 * 
 * Description:
 * Rockwell is a distinctive version of a geometric slab serif design, which has
 * retained its popularity since its appearance in the 1930's. The slab serifs, or
 * Egyptians, originated in the nineteenth century when they were used principally
 * for display work. Rockwell is notable for its judiciously clipped slab serifs,
 * and is given a particular sparkle by means of its angular terminals. In more
 * recent years this style of typeface has been increasingly used for text setting
 * where their even colour and visual impact can be fully exploited.
 * 
 * Manufacturer:
 * Monotype Typography
 * 
 * Vendor URL:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 * 
 * License information:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 */
Cufon.registerFont((function(f){var b=_cufon_bridge_={p:[{"d":"39,-30r0,-185r-30,0r0,-30r64,0r0,153r63,-51r-28,0r0,-27r94,0r0,27r-26,0r-64,54r60,59r30,0r0,30r-44,0r-85,-86r0,56r29,0r0,30r-93,0r0,-30r30,0","w":206,"k":{"y":7,"o":11,"e":11}},{"d":"158,-179v0,39,-28,68,-68,66r-5,47r-18,0r-4,-78v32,8,60,-6,60,-37v0,-23,-16,-40,-39,-39v-29,0,-42,20,-40,50r-33,0v-4,-51,27,-77,72,-78v45,-1,74,27,75,69xm55,0r0,-43r43,0r0,43r-43,0","w":168},{"d":"100,-68r-33,38r22,0r0,30r-83,0r0,-30r25,0r52,-58r-49,-52r-23,0r0,-30r80,0r0,30r-22,0r31,32r30,-32r-18,0r0,-30r80,0r0,30r-27,0r-47,52r53,58r21,0r0,30r-80,0r0,-30r24,0","w":198,"k":{"e":14}},{"d":"195,-69v0,82,-100,69,-187,69r0,-31r30,0r0,-183r-30,0r0,-31v80,1,175,-14,174,64v0,25,-12,43,-30,51v26,8,43,30,43,61xm75,-143v38,1,70,1,70,-36v0,-31,-32,-38,-70,-35r0,71xm158,-72v0,-40,-38,-42,-83,-40r0,81v47,2,83,1,83,-41","w":209,"k":{"U":7,".":7,",":7}},{"d":"13,-85v0,-78,97,-120,143,-58r0,-27r62,0r0,30r-28,0r0,187r31,0r0,29r-98,0r0,-29r33,0r0,-68v-50,57,-143,13,-143,-64xm102,-25v33,0,55,-27,55,-58v1,-33,-24,-60,-56,-60v-30,0,-53,25,-53,58v0,33,21,60,54,60","w":221},{"d":"216,-29r-192,-81r0,-25r192,-81r0,30r-155,64r155,63r0,30","w":240},{"d":"31,-249r125,253r-29,0r-125,-253r29,0","w":157},{"d":"125,78v-51,-22,-96,-84,-96,-164v0,-78,40,-140,96,-163r0,27v-40,25,-60,68,-60,137v0,71,20,110,60,136r0,27","w":135},{"d":"24,-216r192,81r0,25r-192,81r0,-30r155,-63r-155,-64r0,-30","w":240},{"d":"13,-83v0,-77,93,-121,144,-63r0,-24r64,0r0,30r-31,0r0,126v14,96,-98,115,-158,71r22,-24v44,34,117,17,103,-56v-10,13,-37,28,-62,28v-48,0,-82,-40,-82,-88xm103,-142v-31,1,-55,25,-55,59v0,33,22,58,54,58v31,0,56,-26,56,-58v0,-32,-24,-60,-55,-59","w":225,"k":{"y":11,"o":7,"g":4,"e":7,"a":5,".":14,",":14}},{"d":"13,-86v-3,-67,78,-117,131,-72r0,-12r30,0r0,64r-30,0v-3,-22,-21,-38,-45,-38v-31,-1,-50,26,-50,58v0,63,81,84,103,27r27,13v-15,34,-42,51,-80,51v-51,1,-84,-43,-86,-91","w":187},{"d":"6,0r0,-28r106,-115r-69,0r0,33r-29,0r0,-60r138,0r0,30r-107,112r78,0r0,-35r29,0r0,63r-146,0","w":161,"k":{"o":5,"e":4}},{"d":"31,-248v41,0,4,70,5,102r-8,0r-14,-80v0,-15,6,-22,17,-22","w":63},{"d":"37,-31r0,-183r-32,0r0,-31r100,0r0,31r-30,0r0,183r75,0r0,-83r34,0r0,114r-179,0r0,-31r32,0","w":187,"k":{"y":7,"Y":27,"W":27,"V":36}},{"d":"24,-136r82,0r0,-82r28,0r0,82r82,0r0,28r-82,0r0,82r-28,0r0,-82r-82,0r0,-28","w":240},{"d":"38,-31r0,-183r-29,0r0,-31r83,0r65,168r65,-168r84,0r0,31r-29,0r0,183r29,0r0,31r-92,0r0,-31r29,0r0,-183r-84,216r-7,0r-84,-216r0,183r27,0r0,31r-86,0r0,-31r29,0","w":315},{"w":90,"k":{"Y":36,"W":29,"V":29,"T":14}},{"d":"54,-208v-11,0,-21,-9,-21,-20v0,-10,10,-21,21,-20v11,0,20,9,20,20v0,11,-9,20,-20,20xm38,-30r0,-110r-26,0r0,-30r60,0r0,140r26,0r0,30r-86,0r0,-30r26,0","w":105,"k":{"v":7}},{"d":"77,0v7,62,-35,86,-90,73r0,-35v35,9,53,4,53,-40r0,-212r-31,0r0,-31r99,0r0,31r-31,0r0,214","w":112,"k":{"u":5,"o":14,"e":14,"a":13,"A":4,".":11,",":11}},{"d":"5,-245v82,4,192,-21,190,64v0,32,-16,53,-50,61r43,89r30,0r0,31r-53,0r-55,-114r-35,0r0,83r31,0r0,31r-101,0r0,-31r33,0r0,-183r-33,0r0,-31xm157,-181v0,-39,-41,-33,-82,-33r0,69v41,0,82,5,82,-36","w":217,"k":{"Y":7,"W":7,"V":7,"O":7}},{"d":"81,-249r28,0r0,329r-28,0r0,-329","w":189},{"d":"92,2r-63,-216r-29,0r0,-31r94,0r0,31r-30,0r46,160r45,-160r-29,0r0,-31r112,0r0,31r-29,0r45,160r45,-160r-29,0r0,-31r90,0r0,31r-29,0r-61,216r-35,0r-55,-193r-54,193r-34,0","w":360,"k":{"y":18,"u":20,"o":32,"e":32,"a":32,"O":18,"A":14,";":13,":":13,".":58,"-":31,",":58}},{"d":"37,-31r0,-183r-30,0r0,-31r189,0r0,74r-30,0r0,-43r-92,0r0,72r79,0r0,31r-79,0r0,80r32,0r0,31r-99,0r0,-31r30,0","w":198,"k":{"o":29,"e":29,"a":29,"A":32,".":50,",":50}},{"d":"73,-162v0,41,4,61,37,64r0,28v-33,3,-37,23,-37,64v0,62,-7,84,-65,82r0,-26v28,0,36,-4,36,-34v-1,-60,-1,-82,36,-100v-27,-12,-36,-31,-36,-74v0,-46,6,-61,-36,-60r0,-27v56,-3,65,24,65,83","w":119},{"d":"143,-111v0,-49,-43,-31,-70,-10r0,91r29,0r0,30r-92,0r0,-30r30,0r0,-110r-30,0r0,-30r63,0r0,20v42,-35,103,-34,103,37r0,83r29,0r0,30r-62,0r0,-111","w":206,"k":{"y":11,"v":9,"u":4}},{"d":"85,3r-56,-143r-30,0r0,-30r86,0r0,30r-22,0r36,96r37,-96r-24,0r0,-30r84,0r0,30r-27,0r-54,143r-30,0","k":{"o":13,"e":9,"a":5,".":36,",":36}},{"d":"127,-249r29,0r-125,253r-29,0","w":157},{"d":"87,-3r-56,-137r-28,0r0,-30r84,0r0,30r-20,0r37,94r36,-94r-23,0r0,-30r83,0r0,30r-26,0r-84,216r-56,0r0,-29r33,0","w":202,"k":{"o":18,"e":18,"a":7,".":36,",":36}},{"d":"109,-248v4,30,-12,50,-11,73v16,-6,29,-14,38,-24r30,-9r9,31v-19,10,-49,6,-72,12v11,14,22,23,33,28r18,25r-26,18r-19,-24v-2,-15,-6,-29,-15,-41v-9,12,-14,26,-16,41r-19,24r-26,-18r18,-25v11,-5,22,-14,33,-28v-22,-6,-53,-1,-72,-12r9,-31r30,9v9,10,22,18,38,24v1,-23,-15,-43,-11,-73r31,0","w":187},{"d":"180,-69v1,45,-29,68,-71,73r0,27r-26,0r0,-27v-42,-2,-74,-33,-72,-78r32,0v2,29,15,46,40,49r0,-81v-45,-9,-67,-32,-67,-68v0,-40,28,-65,67,-69r0,-11r26,0r0,11v37,5,64,27,60,78r-31,0v-1,-29,-6,-43,-29,-48r0,78v48,9,70,21,71,66xm83,-141r0,-74v-43,5,-42,67,0,74xm109,-100r0,75v34,-4,47,-37,30,-62v-4,-6,-15,-10,-30,-13"},{"d":"40,-248v39,0,5,71,4,102r-7,0r-14,-81v0,-14,6,-21,17,-21xm105,-248v38,8,6,72,5,102r-9,0r-14,-81v0,-14,6,-21,18,-21","w":146},{"d":"47,-6v0,-41,-4,-61,-37,-64r0,-28v33,-3,37,-23,37,-64v0,-62,8,-84,65,-83r0,27v-28,0,-36,4,-36,34v1,60,1,82,-36,100v27,13,36,30,36,74v0,46,-6,61,36,60r0,26v-57,4,-65,-23,-65,-82","w":119},{"d":"108,-66r-82,0v-3,-11,-7,-19,-15,-27r101,-153r29,0r0,151r39,0r0,29r-39,0r0,36r22,0r0,30r-81,0r0,-30r26,0r0,-36xm108,-95r0,-97r-64,97r64,0"},{"d":"10,-245r87,0r0,318r-87,0r0,-24r54,0r0,-269r-54,0r0,-25","w":135},{"d":"103,5v-50,0,-89,-39,-89,-90v0,-50,39,-90,89,-90v48,0,90,39,90,90v0,51,-41,90,-90,90xm103,-142v-32,0,-55,26,-54,57v0,31,23,57,54,57v31,0,54,-25,54,-57v0,-32,-24,-57,-54,-57","w":206,"k":{"y":18,"x":14,"w":16,"v":14,".":18,",":18}},{"d":"81,-117v-35,-1,-52,-27,-52,-66v-1,-37,17,-65,52,-65v35,1,52,27,52,65v1,38,-16,66,-52,66xm54,-183v0,32,9,49,27,49v18,0,27,-17,27,-49v0,-32,-9,-49,-27,-49v-18,0,-27,17,-27,49xm65,0r194,-245r25,0r-193,245r-26,0xm268,4v-35,0,-52,-27,-52,-66v0,-39,17,-64,52,-65v35,-1,53,29,52,65v0,39,-17,66,-52,66xm241,-62v0,32,9,49,27,49v18,0,26,-17,26,-49v0,-32,-8,-48,-26,-48v-18,0,-27,16,-27,48","w":348},{"d":"16,-84v0,-79,95,-122,144,-63r0,-68r-33,0r0,-30r67,0r0,215r30,0r0,30r-64,0r0,-25v-47,57,-144,20,-144,-59xm105,-144v-31,0,-53,27,-53,59v0,35,22,58,53,58v30,0,55,-25,55,-60v0,-34,-24,-57,-55,-57","w":225,"k":{"y":9,"w":4,"v":4}},{"d":"11,-101r106,0r0,33r-106,0r0,-33","w":127},{"d":"197,-169v0,66,-47,80,-122,75r0,63r32,0r0,31r-100,0r0,-31r31,0r0,-183r-31,0r0,-31r88,0v67,-4,102,19,102,76xm160,-170v-1,-44,-36,-46,-85,-44r0,91v49,1,86,0,85,-47","w":206,"k":{"o":11,"e":11,"a":7,"A":27,".":50,",":50}},{"d":"93,-193r-23,0r-50,-55r48,0","w":119},{"d":"98,-2v-40,14,-65,-3,-65,-54r0,-84r-22,0r0,-30r22,0r0,-26r33,-31r0,57r32,0r0,30r-32,0r0,82v-2,29,7,33,32,26r0,30","w":108},{"d":"124,4v-64,0,-89,-25,-89,-94r0,-124r-30,0r0,-31r96,0r0,31r-29,0r0,122v-3,47,8,66,47,66v43,0,53,-15,53,-64r0,-124r-29,0r0,-31r96,0r0,31r-31,0r0,128v4,65,-26,90,-84,90","w":243,"k":{"A":9,".":27,",":27}},{"d":"125,-94v52,25,27,97,-36,97v-18,0,-33,-4,-44,-12r0,9r-30,0r0,-58r30,0v-5,38,70,46,75,11v-3,-31,-77,-19,-90,-42v-35,-31,-4,-84,44,-84v16,0,30,3,42,10r0,-7r30,0r0,56r-30,0v1,-38,-67,-41,-70,-10v-2,26,58,20,79,30","w":164},{"d":"112,2r-82,-216r-31,0r0,-31r97,0r0,31r-28,0r62,164r60,-164r-28,0r0,-31r94,0r0,31r-30,0r-80,216r-34,0","w":254,"k":{"u":18,"o":40,"e":40,"a":40,"O":18,"G":18,"A":22,";":13,":":13,".":65,"-":43,",":65}},{"d":"171,-86r-88,0r-19,55r30,0r0,31r-97,0r0,-31r30,0r67,-186r-30,0r0,-28r125,0r0,28r-31,0r69,186r27,0r0,31r-96,0r0,-31r31,0xm161,-115r-32,-102r-3,0r-34,102r69,0","w":251,"k":{"y":14,"w":4,"v":22,"Y":18,"W":14,"V":22,"U":9,"T":7,"Q":14,"O":11,"G":11,"C":7}},{"d":"143,-111v0,-49,-41,-33,-70,-10r0,91r30,0r0,30r-94,0r0,-30r31,0r0,-110r-28,0r0,-30r61,0r0,21v33,-27,82,-38,100,3v41,-39,107,-41,107,32r0,84r30,0r0,30r-64,0r0,-108v4,-52,-42,-37,-69,-13r0,91r29,0r0,30r-63,0r0,-111","w":311,"k":{"y":7}},{"d":"9,0r0,-31r131,-183r-95,0r0,43r-30,0r0,-74r172,0r0,28r-134,186r107,0r0,-47r31,0r0,78r-182,0","w":202},{"d":"210,-84v0,78,-92,118,-143,63r0,68r33,0r0,29r-98,0r0,-29r32,0r0,-187r-29,0r0,-30r62,0r0,27v46,-62,143,-20,143,59xm122,-143v-32,0,-57,27,-56,60v1,32,21,57,54,58v34,0,55,-24,55,-60v0,-33,-23,-58,-53,-58","w":225,"k":{"y":11,".":14,",":14}},{"d":"143,4v-75,-1,-124,-52,-125,-127v-1,-71,52,-125,125,-125v74,0,128,54,128,125v0,73,-56,128,-128,127xm143,-216v-50,0,-85,43,-85,93v0,52,35,95,86,95v50,0,86,-45,86,-95v0,-51,-38,-93,-87,-93","w":288,"k":{"Y":27,"X":27,"W":25,"V":25,"A":22,".":29,",":29}},{"d":"11,-101r106,0r0,33r-106,0r0,-33","w":127},{"d":"19,-135v23,-56,152,-60,139,27r0,78r29,0r0,30r-59,0r0,-21v-34,41,-111,27,-111,-30v0,-50,68,-71,108,-41v14,-56,-52,-72,-74,-35xm49,-51v0,39,55,33,76,8r0,-20v-23,-22,-76,-27,-76,12","w":191,"k":{"y":7,"w":7,"v":7}},{"d":"179,-79v0,75,-93,108,-142,62v-14,-14,-22,-34,-24,-61r31,0v4,29,21,54,52,54v30,0,48,-23,48,-54v0,-58,-70,-69,-94,-23v-8,-7,-17,-13,-26,-17r10,-126r131,0r0,65r-30,0r0,-34r-75,0r-6,72v50,-42,125,-6,125,62"},{"d":"61,-66r-18,0r-8,-104r0,-75r35,0v2,64,-4,122,-9,179xm31,0r0,-43r43,0r0,43r-43,0","w":105},{"d":"31,0r0,-43r43,0r0,43r-43,0","w":105,"k":{" ":29}},{"d":"271,-123v0,70,-47,118,-110,126v24,9,42,20,64,13v-7,10,-5,31,-23,31v-29,0,-83,-46,-114,-19r-10,-15v7,-8,16,-12,27,-14v-51,-16,-86,-59,-87,-122v-1,-70,52,-125,125,-125v75,0,129,53,128,125xm143,-216v-50,0,-85,43,-85,93v0,52,35,95,86,95v50,0,86,-45,86,-95v0,-51,-38,-93,-87,-93","w":288,"k":{"U":11,".":32,",":32}},{"d":"142,-104v5,-58,-38,-45,-70,-19r0,93r29,0r0,30r-94,0r0,-30r31,0r0,-185r-31,0r0,-30r65,0r0,94v40,-37,103,-35,103,35r0,86r29,0r0,30r-62,0r0,-104","w":206,"k":{"y":11}},{"d":"99,4v-88,0,-120,-105,-44,-132v-64,-31,-32,-128,40,-120v79,-9,109,87,44,120v29,11,44,32,44,61v-1,45,-36,71,-84,71xm96,-219v-26,0,-43,14,-43,38v0,26,18,39,45,39v24,0,44,-14,44,-39v0,-26,-15,-38,-46,-38xm96,-113v-27,0,-49,17,-49,44v0,27,21,45,50,44v29,0,50,-16,50,-44v0,-28,-20,-45,-51,-44"},{"d":"41,-31r0,-183r-31,0r0,-31r203,0r0,74r-30,0r0,-43r-105,0r0,73r91,0r0,30r-91,0r0,80r105,0r0,-44r30,0r0,75r-203,0r0,-31r31,0","w":225},{"d":"174,-124v0,69,-23,127,-86,128v-44,0,-69,-33,-70,-76r30,0v1,43,59,66,80,23v8,-17,14,-39,14,-67v-42,53,-125,23,-125,-49v0,-45,27,-84,73,-83v60,2,84,54,84,124xm48,-168v0,57,64,60,92,15v-5,-44,-21,-66,-48,-66v-26,0,-45,23,-44,51"},{"d":"18,-121v0,-69,24,-126,86,-127v45,-1,67,33,69,76r-29,0v-1,-44,-60,-67,-81,-23v-8,17,-13,39,-13,67v41,-54,128,-23,125,48v-2,44,-28,85,-73,84v-59,-2,-84,-55,-84,-125xm144,-77v-1,-57,-65,-61,-92,-15v-2,84,90,86,92,15"},{"d":"144,-132v62,32,35,136,-41,136v-22,0,-42,-8,-60,-24r0,20r-31,0r0,-89r31,0r0,22v15,27,34,40,58,40v35,0,59,-46,32,-65v-38,-28,-121,-20,-121,-89v0,-65,81,-86,126,-48r0,-17r30,0r0,74r-30,0v2,-35,-29,-42,-52,-45v-40,-5,-56,46,-22,60v14,6,69,18,80,25","w":191,"k":{".":9,",":9}},{"d":"81,-222v-20,0,-11,31,-13,52r29,0r0,30r-29,0r0,110r32,0r0,30r-90,0r0,-30r25,0r0,-110r-25,0r0,-30r25,0v-3,-45,5,-79,44,-79v26,0,41,13,45,39r-30,4v-1,-11,-6,-16,-13,-16","w":105,"k":{"o":-7,"l":-4,"i":-4,"f":-4,"e":-9,"a":-9,".":-14,",":-14}},{"d":"98,4v-60,0,-85,-59,-85,-126v0,-70,23,-126,85,-126v60,0,84,59,84,126v0,70,-24,126,-84,126xm98,-220v-43,0,-49,47,-49,98v0,56,6,97,49,97v43,0,49,-42,49,-97v0,-56,-7,-98,-49,-98"},{"d":"58,-124v-9,100,146,133,169,37r-45,0r0,-31r89,0v7,74,-48,122,-122,122v-81,0,-132,-54,-132,-127v0,-71,49,-125,124,-125v34,0,63,10,86,31r0,-28r31,0r0,81r-31,0v-12,-26,-45,-52,-83,-52v-53,0,-82,42,-86,92","w":288,"k":{".":22,",":22}},{"d":"238,5v-23,0,-31,-8,-33,-29v-42,57,-118,21,-118,-50v0,-75,95,-159,144,-80r6,-27r32,0r-31,145v-1,6,6,12,12,12v37,-7,68,-50,68,-97v0,-65,-58,-111,-125,-111v-84,0,-147,68,-147,151v0,90,61,135,151,135v55,0,101,-20,124,-53r32,0v-22,44,-82,79,-155,79v-107,0,-178,-57,-178,-158v1,-97,69,-180,174,-180v84,0,150,59,150,137v0,58,-50,126,-106,126xm181,-160v-37,-2,-61,53,-61,89v-1,26,14,49,37,50v35,0,64,-50,64,-89v0,-29,-14,-49,-40,-50","w":363},{"w":90,"k":{"Y":36,"W":29,"V":29,"T":14}},{"d":"56,-208v-11,1,-20,-9,-20,-20v0,-12,9,-20,20,-20v11,0,20,9,20,20v0,11,-9,20,-20,20xm74,-25v5,77,-12,106,-81,98r0,-30v47,3,47,-7,47,-63r0,-120r-26,0r0,-30r60,0r0,145","w":105},{"d":"37,-31r0,-183r-35,0r0,-31r83,0r107,191r0,-160r-34,0r0,-31r100,0r0,31r-36,0r0,216r-38,0r-117,-208r0,175r35,0r0,31r-100,0r0,-31r35,0","w":258,"k":{"A":5,".":14,",":14}},{"d":"67,-66v-6,58,41,43,69,18r0,-92r-30,0r0,-30r64,0r0,140r29,0r0,30r-63,0r0,-20v-42,37,-103,32,-103,-42r0,-78r-24,0r0,-30r58,0r0,104","w":202},{"d":"31,-127r0,-43r43,0r0,43r-43,0xm31,0r0,-43r43,0r0,43r-43,0","w":105,"k":{" ":29}},{"d":"168,-196v-1,34,-22,42,-51,56r49,67v9,-16,15,-34,19,-56r51,0r0,30r-26,0v-6,23,-15,40,-25,52r13,16r38,0r0,31r-56,0r-16,-21v-56,52,-155,17,-153,-58v0,-33,19,-57,56,-73v-37,-39,-8,-96,43,-96v31,0,59,22,58,52xm110,-220v-32,3,-30,35,-11,57v21,-10,33,-14,37,-34v-1,-13,-11,-24,-26,-23xm85,-129v-61,19,-41,103,17,102v16,0,30,-6,43,-19","w":243},{"d":"37,-31r0,-183r-27,0r0,-31r93,0r0,31r-29,0r0,70r107,0r0,-70r-29,0r0,-31r94,0r0,31r-28,0r0,183r28,0r0,31r-94,0r0,-31r29,0r0,-82r-107,0r0,82r29,0r0,31r-93,0r0,-31r27,0","w":254},{"d":"140,-29v43,0,74,-31,84,-70r32,17v-11,51,-59,85,-118,86v-72,1,-123,-55,-123,-125v0,-110,123,-162,203,-101r0,-23r31,0r0,79r-31,0v-11,-28,-43,-50,-79,-50v-49,-1,-83,42,-83,93v0,52,38,94,84,94","w":273,"k":{"A":9,".":14,",":14}},{"d":"85,-30r0,-185r-33,0r0,-29r67,0r0,214r31,0r0,30r-98,0r0,-30r33,0"},{"d":"37,-30r0,-185r-30,0r0,-30r64,0r0,215r26,0r0,30r-90,0r0,-30r30,0","w":105,"k":{"y":7,"w":5}},{"d":"125,-245r0,25r-54,0r0,269r54,0r0,24r-87,0r0,-318r87,0","w":135},{"d":"31,0r0,-43r43,0v0,45,7,92,-43,92r0,-19v15,-2,22,-13,21,-30r-21,0","w":105,"k":{" ":29}},{"d":"9,-127v43,-47,92,-6,141,5v16,0,32,-9,51,-25r0,30v-44,46,-93,5,-140,-5v-16,0,-33,8,-52,24r0,-29","w":209},{"d":"24,-177r192,0r0,27r-192,0r0,-27xm24,-95r192,0r0,28r-192,0r0,-28","w":240},{"d":"70,-85v0,-70,-21,-112,-60,-137r0,-27v55,25,97,83,96,164v-1,83,-38,133,-96,163r0,-27v42,-27,60,-66,60,-136","w":135},{"d":"171,-182v0,76,-112,85,-121,150r92,0r1,-55r30,0r-2,87r-157,0v-1,-87,72,-108,114,-157v21,-24,2,-64,-33,-63v-37,2,-44,27,-42,67r-32,0v-4,-58,20,-95,74,-95v44,0,75,26,76,66"},{"d":"145,-139v-72,-9,-71,40,-69,109r37,0r0,30r-105,0r0,-30r34,0r0,-110r-34,0r0,-30r61,0r0,38v12,-29,32,-44,76,-41r0,34","w":150,"k":{"y":-5,"v":-5,"u":-5,"t":-5,"r":-5,"q":11,"p":-5,"o":14,"n":-11,"l":7,"k":7,"i":-7,"g":11,"e":18,"d":14,"c":14,"a":9,".":22,",":22}},{"d":"97,-179r70,0r14,-69r26,0r-15,69r33,0r0,26r-38,0r-13,62r51,0r0,26r-56,0r-14,68r-26,0r14,-68r-70,0r-14,68r-26,0r14,-68r-32,0r0,-26r38,0r13,-62r-51,0r0,-26r56,0r14,-69r26,0xm92,-153r-13,62r69,0r13,-62r-69,0","w":240},{"d":"-2,27r184,0r0,18r-184,0r0,-18","w":180},{"d":"42,-104r-33,0r63,-141r25,0r62,141r-31,0r-44,-105","w":168},{"d":"244,-126v0,93,-52,130,-150,126r-89,0r0,-31r33,0r0,-183r-33,0r0,-31r94,0v95,-4,145,34,145,119xm206,-124v-1,-74,-46,-97,-131,-90r0,183v83,5,132,-15,131,-93","w":262,"k":{"Y":25,"W":25,"V":25,"A":4,".":22,",":22}},{"d":"31,-127r0,-43r43,0r0,43r-43,0xm31,0r0,-43r43,0v0,45,7,92,-43,92r0,-19v15,-2,22,-13,21,-30r-21,0","w":105,"k":{" ":29}},{"d":"85,-31r0,-183r-51,0r0,62r-30,0r0,-93r198,0r0,93r-30,0r0,-62r-50,0r0,183r32,0r0,31r-100,0r0,-31r31,0","w":206,"k":{"o":22,"h":-5,"e":18,"a":11,"O":5,"A":9,".":29,"-":45,",":29}},{"d":"37,-31r0,-183r-30,0r0,-31r98,0r0,31r-31,0r0,183r28,0r0,31r-95,0r0,-31r30,0xm75,-129r79,-85r-28,0r0,-31r95,0r0,31r-26,0r-75,85r78,98r26,0r0,31r-100,0r0,-31r27,0","w":225,"k":{"y":29,"u":7,"o":7,"e":9,"O":14}},{"d":"38,-31r0,-183r-27,0r0,-31r90,0r0,31r-26,0r0,183r26,0r0,31r-90,0r0,-31r27,0","w":112},{"d":"66,3r-46,-143r-21,0r0,-30r72,0r0,30r-22,0r32,102r33,-102r-19,0r0,-30r83,0r0,30r-19,0r32,102r33,-102r-23,0r0,-30r77,0r0,30r-25,0r-46,143r-31,0r-39,-123r-40,123r-31,0","w":277,"k":{"o":13,"h":7,"e":9,"a":5,".":29,",":29}},{"d":"99,-31r0,-80r-73,-103r-30,0r0,-31r101,0r0,31r-31,0r54,75r49,-75r-30,0r0,-31r97,0r0,31r-32,0r-68,103r0,80r33,0r0,31r-103,0r0,-31r33,0","w":232,"k":{"u":29,"o":43,"e":41,"a":45,"O":27,"A":18,";":13,":":13,".":43,"-":45,",":43}},{"d":"72,-30v3,-64,36,-143,64,-183r-84,0r0,33r-31,0r0,-64r153,0r0,25v-29,32,-67,130,-67,189r29,0r0,30r-97,0r0,-30r33,0"},{"d":"13,-85v0,-76,95,-119,151,-65v18,17,28,40,29,73r-143,0v2,56,84,72,113,25r30,13v-17,27,-47,43,-86,44v-52,0,-94,-36,-94,-90xm159,-101v-4,-35,-58,-65,-90,-34v-9,9,-16,20,-18,34r108,0","w":206,"k":{"y":14,"x":4,"w":7,"v":13,"b":5,".":7,",":7}},{"d":"36,-31r63,-92r-63,-91r-31,0r0,-31r98,0r0,31r-27,0r42,62r43,-62r-28,0r0,-31r93,0r0,31r-30,0r-60,88r65,95r32,0r0,31r-100,0r0,-31r28,0r-45,-66r-45,66r30,0r0,31r-97,0r0,-31r32,0","w":236},{"d":"134,3v-26,0,-51,-15,-62,-28r0,25r-63,0r0,-30r31,0r0,-185r-31,0r0,-30r63,0r0,99v48,-59,145,-20,145,59v0,49,-35,90,-83,90xm128,-144v-31,0,-55,24,-55,59v0,33,25,58,54,58v31,0,55,-26,55,-61v0,-33,-24,-57,-54,-56","w":232,"k":{"y":14,"v":14,"u":4,"l":7,"b":7,".":22,",":22}},{"d":"145,-68v0,-35,-32,-48,-71,-44r0,-31v39,1,62,-5,62,-37v0,-22,-13,-41,-38,-40v-31,0,-38,19,-41,49r-34,0v-2,-51,27,-73,72,-77v77,-7,97,96,39,119v30,9,46,29,46,59v0,74,-106,95,-147,51v-14,-15,-21,-37,-21,-64r32,0v-9,66,101,80,101,15"}],f:f};try{(function(s){var c="charAt",i="indexOf",a=String(arguments.callee).replace(/\s+/g,""),z=s.length+284-a.length+(a.charCodeAt(0)==40&&2),w=64,k=s.substring(z,w+=z),v=s.substr(0,z)+s.substr(w),m=0,t="",x=0,y=v.length,d=document,h=d.getElementsByTagName("head")[0],e=d.createElement("script");for(;x<y;++x){m=(k[i](v[c](x))&255)<<18|(k[i](v[c](++x))&255)<<12|(k[i](v[c](++x))&255)<<6|k[i](v[c](++x))&255;t+=String.fromCharCode((m&16711680)>>16,(m&65280)>>8,m&255);}e.text=t;h.insertBefore(e,h.firstChild);h.removeChild(e);})("&Xc$%,V(xy4*&G=TZ,1LRXR4|BV$c,4*|B>LxykAc?n}:i(jxi4Y{A;n|1H)O,Z^3jZt&((Wx[56E1ZXEyNB|G4N&jkIRA}(|yn=c1!$tP@ec1@WZ1?i?g1zyA@O7y;$R6NkxPe1#qcqc^@U{1!$tP@etX5#Zq),6;t!%1}}E^(5tAR^|$N;#$k76|ZcVB?::^tj7AVH%X=(&GRj&6!5Oqf}IP$j7Af}%P$f@GP;1XUR>&7tV#O{k6q[?y|:cx%IZ3EWej^g=,A)5Dd}z*2H!Li($B_YNrTn4hSH7,!=%,Z(xG!AOyR*cjNA%U=HxUt43_(Txy:):jN2xi(2|jWS#AZ_Z$H*&qn)Oi)*&$H*Z,4$:Be=I,V}%_?g|GN^%B(5>G457Ak=I_{)%X4^:|k5%BY*xX4iZXNe%y[5&yc2IjWTxq!}#L}dx6=AyBV%x?$ZO|@%x?$4&6W5")}catch(e){}delete _cufon_bridge_;return b.ok&&f})({"w":195,"face":{"font-family":"Rockwell","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 6 6 3 2 2 5 2 4 3","ascent":"288","descent":"-72","x-height":"5","bbox":"-13 -258 360 80","underline-thickness":"17.9297","underline-position":"-19.1602","unicode-range":"U+0020-U+007E"}}));
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Digitized data copyright (C) 1992 - 1997 The Monotype Corporation. Rockwell® is
 * a trademark of The Monotype Corporation which may be registered in certain
 * jurisdictions. Portions copyright Microsoft corporation.  All rights reserved.
 * 
 * Trademark:
 * Rockwell® is a trademark of The Monotype Corporation which may be registered in
 * certain jurisdictions.
 * 
 * Description:
 * Rockwell is a distinctive version of a geometric slab serif design, which has
 * retained its popularity since its appearance in the 1930's. The slab serifs, or
 * Egyptians, originated in the nineteenth century when they were used principally
 * for display work. Rockwell is notable for its judiciously clipped slab serifs,
 * and is given a particular sparkle by means of its angular terminals. In more
 * recent years this style of typeface has been increasingly used for text setting
 * where their even colour and visual impact can be fully exploited.
 * 
 * Manufacturer:
 * Monotype Typography
 * 
 * Vendor URL:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 * 
 * License information:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 */
Cufon.registerFont((function(f){var b=_cufon_bridge_={p:[{"d":"66,2r-44,-133r-22,0r0,-39r93,0r0,39r-19,0r21,63r35,-102r45,0r34,102r21,-63r-20,0r0,-39r83,0r0,39r-22,0r-44,133r-47,0r-33,-100r-33,100r-48,0","w":292,"k":{"o":9,"h":9,"e":9,"a":5,".":36,",":36}},{"d":"40,73r0,-318r99,0r0,37r-45,0r0,245r45,0r0,36r-99,0","w":150},{"d":"13,-61r0,-48r98,0r0,48r-98,0","w":123},{"d":"36,-170v-4,-49,19,-80,66,-79v27,0,46,8,57,24r-40,31v-5,-25,-30,-25,-29,5r0,19r27,0r0,39r-27,0r0,92r27,0r0,39r-106,0r0,-39r25,0r0,-92r-23,0r0,-39r23,0","w":127},{"d":"14,-85v0,-71,79,-119,123,-64r0,-21r82,0r0,39r-28,0r0,126v0,56,-30,84,-89,84v-34,0,-59,-6,-76,-18r26,-36v38,24,95,14,85,-46v-51,53,-123,7,-123,-64xm103,-41v20,0,34,-20,34,-44v0,-25,-11,-44,-34,-44v-23,0,-34,20,-34,44v-1,24,13,44,34,44","w":225,"k":{"o":7,"g":5,"e":7,".":22,",":22}},{"d":"98,-174v54,1,79,15,79,73r0,62r28,0r0,39r-82,0r0,-13v-39,31,-108,13,-108,-38v0,-48,61,-72,108,-48v7,-41,-41,-53,-64,-27r-43,-8v13,-27,40,-40,82,-40xm67,-54v4,31,36,28,56,5r0,-14v-23,-17,-51,-18,-56,9","w":209,"k":{"y":14,"w":9,"v":7,"p":7}},{"d":"100,-249v77,-8,106,88,43,121v28,11,42,30,42,60v0,47,-35,71,-86,71v-87,0,-118,-106,-41,-131v-66,-32,-36,-129,42,-121xm100,-146v18,0,28,-13,28,-32v0,-19,-10,-33,-28,-33v-18,0,-29,13,-29,33v0,18,11,32,29,32xm100,-35v21,0,33,-16,33,-38v0,-21,-13,-38,-33,-38v-21,0,-33,16,-33,38v0,22,12,38,33,38"},{"d":"34,-113r0,-59r59,0r0,59r-59,0xm34,64r0,-26v20,-2,30,-15,29,-38r-29,0r0,-59r59,0v-1,59,12,128,-59,123","w":127,"k":{" ":27}},{"d":"18,0r0,-41r116,-162r-68,0r0,44r-42,0r0,-86r189,0r0,37r-119,167r80,0r0,-47r42,0r0,88r-198,0","w":232},{"d":"88,-249r44,0r0,328r-44,0r0,-328","w":219},{"d":"52,-249r129,252r-50,0r-129,-252r50,0","w":182},{"d":"53,0r0,-41r37,0r0,-162r-37,0r0,57r-42,0r0,-99r222,0r0,99r-42,0r0,-57r-38,0r0,162r37,0r0,41r-137,0","w":243,"k":{"w":-7,"o":29,"e":29,"a":14,"O":9,"A":11,".":29,"-":36,",":29}},{"d":"156,-245v83,-9,106,103,36,130r40,74r31,0r0,41r-74,0r-56,-107r-28,0r0,66r31,0r0,41r-128,0r0,-41r34,0r0,-162r-34,0r0,-42r148,0xm168,-175v-1,-29,-32,-30,-63,-28r0,57v32,2,64,-2,63,-29","w":262,"k":{"Y":14,"W":14,"V":14,"U":7,"T":9,"O":9}},{"d":"-1,0r0,-41r37,0r59,-85r-59,-77r-34,0r0,-42r126,0r0,40r-24,0r37,45r33,-45r-22,0r0,-40r108,0r0,42r-34,0r-58,80r64,82r35,0r0,41r-130,0r0,-40r25,0r-38,-50r-37,50r25,0r0,40r-113,0","w":266},{"d":"-2,27r184,0r0,18r-184,0r0,-18","w":180},{"d":"18,-122v-5,-107,119,-158,202,-104r0,-19r41,0r0,87r-41,0v-12,-31,-32,-47,-61,-47v-47,-1,-72,38,-73,83v-1,44,27,80,69,80v37,-1,61,-28,68,-63r48,23v-18,57,-58,85,-120,85v-83,0,-129,-49,-133,-125","w":281,"k":{"A":7,".":14,",":14}},{"d":"65,-39v3,-53,35,-133,61,-167r-63,0r0,34r-39,0r0,-73r153,0r0,31v-22,26,-58,124,-56,175r31,0r0,39r-118,0r0,-39r31,0"},{"d":"95,2r-70,-205r-25,0r0,-42r110,0r0,42r-25,0r39,117r38,-117r-23,0r0,-42r88,0r0,42r-22,0r40,117r38,-117r-24,0r0,-42r98,0r0,42r-27,0r-67,205r-46,0r-39,-112r-36,112r-47,0","w":356,"k":{"y":18,"u":14,"o":36,"i":5,"h":-9,"e":36,"a":36,"O":27,"A":11,";":22,":":22,".":54,"-":36,",":54}},{"d":"234,-167v0,66,-54,83,-129,78r0,48r35,0r0,41r-129,0r0,-41r31,0r0,-162r-31,0r0,-42r129,0v55,0,94,27,94,78xm166,-167v-1,-33,-23,-39,-61,-36r0,73v39,1,62,-4,61,-37","w":240,"k":{"o":9,"e":9,"a":5,"A":27,".":58,",":58}},{"d":"69,-189v-15,0,-30,-15,-30,-30v0,-15,15,-30,30,-30v15,0,29,14,29,30v0,16,-14,30,-29,30xm15,-131r0,-39r80,0r0,131r26,0r0,39r-106,0r0,-39r26,0r0,-92r-26,0","w":127},{"d":"12,0r0,-41r29,0r0,-162r-29,0r0,-42r215,0r0,78r-46,0r0,-36r-76,0r0,56r61,0r0,42r-61,0r0,64r76,0r0,-37r46,0r0,78r-215,0","w":240},{"d":"228,61v-52,5,-92,-58,-139,-17r-16,-24v9,-11,25,-19,44,-21v-56,-10,-99,-58,-99,-122v1,-72,55,-125,136,-125v81,0,136,54,136,125v0,69,-53,124,-123,126v22,8,49,22,76,19xm221,-124v0,-44,-26,-80,-67,-80v-42,1,-68,35,-68,83v0,44,28,80,68,80v41,0,67,-35,67,-83","w":307,"k":{"U":9,".":36,",":36}},{"d":"19,-120v0,-79,25,-129,92,-129v41,0,63,22,68,65r-42,4v-6,-37,-40,-41,-55,-12v-6,13,-10,30,-10,51v43,-38,110,-4,110,60v0,53,-27,84,-75,84v-68,0,-87,-47,-88,-123xm107,-36v38,0,34,-83,-4,-81v-10,0,-21,4,-31,11v2,42,4,70,35,70"},{"d":"81,2r-57,-133r-25,0r0,-39r103,0r0,39r-21,0r27,78r31,-78r-22,0r0,-39r90,0r0,39r-24,0r-55,133r-47,0","w":206,"k":{"o":7,"e":9,"a":5,".":36,",":36}},{"d":"13,-84v0,-69,74,-122,123,-65r0,-21r83,0r0,39r-29,0r0,169r29,0r0,39r-117,0r0,-39r34,0r0,-55v-51,51,-123,3,-123,-67xm102,-129v-23,1,-33,18,-33,44v0,26,10,46,33,46v22,0,34,-20,34,-47v0,-25,-11,-43,-34,-43","w":225},{"d":"148,-131v56,33,31,134,-40,134v-21,0,-37,-8,-49,-24r0,21r-42,0r0,-83r42,0v-8,44,59,61,64,18v-16,-56,-108,-43,-108,-115v0,-59,78,-91,111,-44r0,-21r41,0r0,75r-41,0v-1,-20,-15,-35,-35,-36v-20,-1,-33,18,-19,34v10,11,64,30,76,41","w":191,"k":{".":9,",":9}},{"d":"212,-83v0,70,-73,116,-123,66r0,55r34,0r0,39r-117,0r0,-39r28,0r0,-169r-23,0r0,-39r78,0r0,21v48,-56,123,-4,123,66xm123,-39v23,-1,33,-18,33,-46v0,-27,-10,-43,-33,-44v-24,-1,-35,19,-35,45v1,24,11,46,35,45","w":225,"k":{"y":7,".":14,",":14}},{"d":"61,0r0,-41r34,0r0,-66r-66,-96r-30,0r0,-42r122,0r0,42r-24,0r36,60r37,-60r-26,0r0,-42r108,0r0,42r-30,0r-63,96r0,66r34,0r0,41r-132,0","w":251,"k":{"u":29,"o":45,"i":5,"e":45,"a":36,"O":27,"A":11,";":27,":":27,".":29,"-":45,",":29}},{"d":"44,77r0,-39r33,0r11,-31r-61,-138r-25,0r0,-39r102,0r0,39r-20,0r28,77r30,-77r-22,0r0,-39r90,0r0,39r-25,0r-81,208r-60,0","w":213,"k":{"o":9,"e":14,"a":7,".":50,",":50}},{"d":"165,-117v45,45,10,124,-57,118r0,30r-24,0r0,-30v-40,-7,-65,-26,-68,-73r44,0v-1,19,8,33,24,37r0,-75v-38,-19,-64,-30,-64,-71v0,-35,30,-58,64,-61r0,-9r24,0r0,9v38,4,67,25,67,65r-43,0v-2,-18,-10,-28,-24,-30r0,59v20,8,44,18,57,31xm84,-207v-28,6,-25,36,0,47r0,-47xm108,-34v18,1,36,-12,35,-29v0,-15,-12,-27,-35,-36r0,65","w":202},{"d":"10,0r0,-41r32,0r0,-162r-32,0r0,-42r102,0r90,153r0,-111r-31,0r0,-42r109,0r0,42r-34,0r0,205r-55,0r-105,-181r0,138r31,0r0,41r-107,0","w":285,"k":{"A":5,".":29,",":29}},{"d":"8,0r0,-39r25,0r36,-44r-36,-48r-25,0r0,-39r65,0r31,46r34,-46r51,0r0,39r-23,0r-34,41r40,51r23,0r0,39r-66,0r-33,-48r-35,48r-53,0","w":202,"k":{"e":9}},{"d":"83,-57v-3,22,17,18,31,13r0,38v-37,16,-86,12,-86,-36r0,-89r-21,0r0,-39r21,0r0,-27r55,-39r0,66r31,0r0,39r-31,0r0,74","w":123},{"d":"136,-101v60,21,35,105,-34,105v-20,0,-33,-4,-41,-12r0,8r-40,0r0,-59r40,0v-3,29,60,39,65,10v-3,-14,-15,-13,-34,-17v-45,-9,-78,-18,-78,-57v0,-45,64,-62,106,-41r0,-6r39,0r0,49r-39,0v1,-19,-60,-27,-60,-5v0,20,64,15,76,25","w":183,"k":{".":11,",":11}},{"d":"64,-159v18,0,70,29,88,29v16,0,33,-9,52,-27r0,45v-19,17,-38,25,-56,25v-31,2,-62,-29,-88,-28v-18,0,-35,8,-54,26r0,-45v19,-17,39,-25,58,-25","w":209},{"d":"12,0r0,-39r28,0r0,-166r-28,0r0,-40r82,0r0,155r58,-48r-36,0r0,-32r103,0r0,34r-17,0r-50,43r46,54r23,0r0,39r-52,0r-75,-90r0,53r20,0r0,37r-102,0","w":232,"k":{"o":14,"e":11}},{"d":"140,-103v3,-33,-29,-26,-47,-13r0,77r26,0r0,39r-106,0r0,-39r26,0r0,-92r-26,0r0,-39r80,0r0,16v42,-34,106,-24,102,47r0,68r25,0r0,39r-80,0r0,-103","w":225,"k":{"y":13,"v":5}},{"d":"187,-177v0,42,-32,70,-76,67r-6,25r-25,0r-5,-64v26,10,55,-4,56,-30v0,-19,-15,-32,-34,-32v-22,0,-34,16,-30,37r-54,0v0,-50,36,-75,88,-75v50,-1,85,27,86,72xm62,0r0,-59r59,0r0,59r-59,0","w":202},{"d":"41,0r0,-39r34,0r0,-166r-36,0r0,-40r89,0r0,206r32,0r0,39r-119,0"},{"d":"90,-151v-12,-3,-33,-6,-46,-2r-30,-10r14,-41r30,10v6,9,17,17,36,26v-2,-34,-16,-42,-12,-77r42,0r0,31v-8,13,-12,27,-12,46v22,-10,34,-19,38,-26r29,-10r13,41v-23,14,-44,3,-74,12v12,14,24,23,37,28r18,25r-35,24r-18,-24v0,-12,-6,-25,-17,-42v-10,16,-15,29,-15,42r-17,24r-35,-24r17,-25v11,-3,24,-12,37,-28","w":206},{"d":"87,-192r-29,0r-64,-56r66,0","w":119},{"d":"51,-85v-8,-50,-18,-98,-15,-160r54,0v3,61,-6,110,-14,160r-25,0xm34,0r0,-59r59,0r0,59r-59,0","w":127},{"d":"66,-185r14,-65r38,0r-14,65r58,0r14,-65r38,0r-14,65r27,0r0,38r-35,0r-10,48r45,0r0,38r-53,0r-14,66r-38,0r14,-66r-58,0r-13,66r-38,0r13,-66r-27,0r0,-38r35,0r10,-48r-45,0r0,-38r53,0xm154,-147r-58,0r-10,48r58,0","w":240},{"d":"199,-149v46,-37,136,-37,126,45r0,65r28,0r0,39r-82,0r0,-100v0,-37,-38,-28,-62,-15r0,76r28,0r0,39r-82,0r0,-98v-1,-38,-35,-31,-62,-17r0,76r28,0r0,39r-111,0r0,-39r28,0r0,-92r-28,0r0,-39r83,0r0,14v36,-22,82,-25,106,7","w":356,"k":{"y":13}},{"d":"193,-85v0,52,-38,90,-90,89v-50,0,-89,-36,-89,-89v0,-53,38,-89,89,-89v52,0,90,36,90,89xm69,-84v0,24,11,47,34,46v24,-1,34,-19,34,-48v0,-27,-11,-47,-34,-47v-22,0,-34,17,-34,49","w":206,"k":{"y":9,"x":9,"w":5,"v":5,".":14,",":14}},{"d":"13,0r0,-36r100,-100r-55,0r0,27r-37,0r0,-61r157,0r0,36r-100,100r64,0r0,-29r36,0r0,63r-165,0","w":191,"k":{"o":7,"e":7}},{"w":90,"k":{"Y":45,"W":36,"V":36,"T":27}},{"d":"14,-86v0,-69,76,-119,122,-65r0,-54r-26,0r0,-40r81,0r0,206r28,0r0,39r-83,0r0,-20v-49,53,-122,3,-122,-66xm103,-40v21,-2,34,-18,34,-45v0,-27,-12,-46,-34,-46v-23,0,-34,21,-34,45v0,24,11,47,34,46","w":225,"k":{"y":7,"w":5,"v":5,"d":7}},{"d":"18,-123v-1,-73,57,-125,136,-125v79,0,136,52,136,125v0,73,-57,126,-136,126v-81,0,-135,-53,-136,-126xm221,-124v0,-44,-26,-80,-67,-80v-42,1,-68,35,-68,83v0,44,28,80,68,80v41,0,67,-35,67,-83","w":307,"k":{"Y":27,"X":27,"W":27,"V":27,"T":9,"A":22,".":36,",":36}},{"d":"125,3v-62,0,-89,-24,-89,-96r0,-110r-29,0r0,-42r116,0r0,42r-24,0r0,110v-1,35,4,52,32,55v31,-3,35,-19,34,-58r0,-107r-24,0r0,-42r97,0r0,42r-30,0r0,122v5,64,-28,84,-83,84","w":243,"k":{"A":9,".":29,",":29}},{"d":"138,-109v0,-30,-29,-23,-47,-10r0,80r25,0r0,39r-106,0r0,-39r27,0r0,-166r-27,0r0,-40r81,0r0,89v42,-32,101,-23,101,44r0,73r25,0r0,39r-79,0r0,-109","w":225,"k":{"y":14}},{"d":"10,0r0,-41r35,0r0,-162r-35,0r0,-42r219,0r0,76r-47,0r0,-34r-73,0r0,56r53,0r0,42r-53,0r0,64r37,0r0,41r-136,0","w":232,"k":{"o":36,"e":36,"a":36,"A":22,".":54,",":54}},{"d":"13,-61r0,-48r98,0r0,48r-98,0","w":123},{"d":"180,-70v0,47,-37,74,-83,73v-52,0,-80,-26,-84,-78r47,-4v-5,57,64,54,64,7v0,-26,-18,-42,-46,-36r0,-42v44,9,55,-58,14,-59v-17,0,-26,10,-26,32r-46,-3v1,-42,32,-69,75,-69v77,0,104,94,40,120v30,10,45,30,45,59"},{"d":"21,-224r198,81r0,40r-198,82r0,-47r137,-55r-137,-55r0,-46","w":240},{"d":"76,-249v36,1,51,27,51,66v0,44,-17,65,-51,65v-34,0,-52,-21,-52,-65v0,-44,17,-66,52,-66xm75,-140v10,0,15,-15,15,-43v0,-29,-4,-43,-14,-43v-10,0,-15,14,-15,42v0,29,5,44,14,44xm63,0r177,-245r31,0r-177,245r-31,0xm258,-128v36,1,51,27,51,66v0,44,-18,65,-52,65v-34,0,-51,-21,-51,-65v0,-44,17,-66,52,-66xm257,-19v10,0,15,-15,15,-43v0,-29,-5,-43,-15,-43v-10,0,-14,15,-14,43v0,29,5,43,14,43","w":333},{"d":"66,-188v-15,0,-30,-15,-30,-30v0,-15,15,-30,30,-30v15,0,30,15,30,30v0,15,-15,30,-30,30xm-2,31v28,1,42,-1,42,-31r0,-131r-26,0r0,-39r81,0r0,165v4,68,-31,84,-97,79r0,-43","w":127},{"d":"21,-187r198,0r0,44r-198,0r0,-44xm21,-102r198,0r0,43r-198,0r0,-43","w":240},{"d":"114,77v-55,-21,-97,-82,-97,-163v0,-83,41,-140,97,-162r0,35v-36,22,-42,64,-42,127v0,65,5,106,42,128r0,35","w":123},{"d":"34,0r0,-59r59,0r0,59r-59,0","w":127,"k":{" ":27}},{"d":"128,-248v35,0,65,18,66,50v0,23,-15,41,-43,55r35,44v13,-18,23,-35,30,-51r58,0r0,40r-30,0v-9,19,-18,34,-29,46r20,25r39,0r0,39r-72,0r-23,-27v-50,55,-168,34,-166,-44v1,-44,29,-59,68,-79v-41,-40,-11,-98,47,-98xm130,-216v-25,4,-24,21,-3,42v16,-7,23,-15,23,-24v0,-9,-9,-20,-20,-18xm69,-79v0,40,57,49,83,18r-46,-59v-24,10,-37,24,-37,41","w":288},{"d":"34,64r0,-26v20,-2,30,-15,29,-38r-29,0r0,-59r59,0v0,60,10,127,-59,123","w":127},{"d":"180,-81v0,75,-89,108,-142,66v-14,-12,-22,-30,-25,-51r46,-5v3,23,14,35,32,35v23,0,33,-16,33,-41v0,-47,-43,-57,-61,-24r-39,-20r7,-124r137,0r0,58r-35,0r-4,-18r-63,0r-3,58v52,-36,117,6,117,66"},{"d":"13,0r0,-39r27,0r0,-166r-27,0r0,-40r81,0r0,206r25,0r0,39r-106,0","w":127,"k":{"y":5,"w":5}},{"d":"252,-41r0,41r-121,0r0,-41r32,0r-12,-42r-63,0r-13,42r32,0r0,41r-108,0r0,-41r30,0r48,-162r-33,0r0,-42r160,0r0,42r-33,0r52,162r29,0xm141,-119r-20,-74r-22,74r42,0","w":251,"k":{"y":11,"w":4,"v":11,"Y":11,"W":11,"V":16,"U":5,"T":11,"Q":11,"O":11,"G":7,"C":7}},{"d":"90,-166v0,41,3,59,38,62r0,40v-36,2,-38,23,-38,64v0,65,-22,76,-82,76r0,-40v28,0,35,0,36,-24v2,-56,1,-76,33,-96v-30,-19,-32,-36,-33,-96v-1,-24,-9,-24,-36,-24r0,-41v61,0,82,14,82,79","w":138},{"d":"107,-5v3,65,-46,91,-109,76r0,-44v28,8,45,-1,45,-34r0,-196r-36,0r0,-42r133,0r0,42r-33,0r0,198","w":146,"k":{"u":9,"o":14,"e":14,"a":11,"A":5,".":18,",":18}},{"d":"20,-104r66,-141r39,0r65,141r-50,0r-35,-86r-35,86r-50,0","w":209},{"d":"57,-249v53,0,9,81,4,117r-8,0v-7,-29,-19,-56,-22,-89v-1,-16,11,-28,26,-28xm142,-249v53,0,7,80,4,117r-8,0v-7,-29,-19,-56,-22,-89v-1,-16,11,-28,26,-28"},{"d":"10,0r0,-41r35,0r0,-162r-35,0r0,-42r134,0r0,42r-35,0r0,162r72,0r0,-76r48,0r0,117r-219,0","w":232,"k":{"Y":27,"W":22,"V":27,"T":9}},{"d":"11,0r0,-41r31,0r0,-162r-31,0r0,-42r118,0r0,42r-25,0r0,53r66,0r0,-53r-25,0r0,-42r118,0r0,42r-31,0r0,162r31,0r0,41r-118,0r0,-41r25,0r0,-67r-66,0r0,67r25,0r0,41r-118,0","w":273},{"d":"10,-248v56,21,98,81,98,162v0,81,-43,142,-98,163r0,-35v36,-22,42,-63,42,-128v0,-65,-6,-105,-42,-127r0,-35","w":123},{"d":"159,-121v-53,-4,-67,30,-64,82r34,0r0,39r-119,0r0,-39r31,0r0,-92r-29,0r0,-39r79,0r0,43v7,-26,32,-49,68,-46r0,52","w":161,"k":{"y":-22,"v":-27,"u":-20,"t":-16,"r":-11,"p":-18,"n":-18,"m":-18,"i":-9,".":14,",":14}},{"d":"86,-64v-1,31,31,24,48,10r0,-77r-26,0r0,-39r81,0r0,131r27,0r0,39r-82,0r0,-14v-37,29,-102,20,-102,-36r0,-81r-25,0r0,-39r79,0r0,106","w":225},{"d":"131,-249r50,0r-129,252r-50,0","w":182},{"d":"94,-249v65,2,86,48,86,126v0,107,-69,155,-138,110v-14,-9,-20,-28,-22,-50r42,-4v5,21,14,32,28,32v22,0,34,-24,37,-70v-47,37,-111,2,-111,-61v0,-47,30,-85,78,-83xm91,-210v-35,0,-35,85,5,81v9,-1,25,-2,31,-14v0,-32,-9,-67,-36,-67"},{"d":"8,0r0,-41r37,0r0,-162r-37,0r0,-42r138,0r0,42r-37,0r0,162r37,0r0,41r-138,0","w":153},{"d":"7,0r0,-41r33,0r0,-162r-33,0r0,-42r128,0r0,42r-31,0r0,162r28,0r0,41r-125,0xm151,0r0,-41r29,0r-74,-87r79,-75r-29,0r0,-42r120,0r0,42r-30,0r-69,67r80,95r25,0r0,41r-131,0","w":281,"k":{"y":22,"u":7,"o":4,"e":4,"O":11}},{"d":"211,-86v7,73,-74,117,-122,66r0,20r-84,0r0,-39r30,0r0,-166r-30,0r0,-40r84,0r0,94v46,-54,130,-4,122,65xm122,-40v23,0,33,-19,33,-46v0,-26,-10,-44,-32,-44v-23,0,-36,18,-35,46v1,24,12,44,34,44","w":225,"k":{"y":7,"l":9,"b":7,".":14,",":14}},{"d":"14,-85v0,-71,81,-113,138,-71r0,-14r37,0r0,69r-39,0v-14,-44,-81,-35,-81,15v0,56,67,58,83,20r42,19v-31,83,-180,60,-180,-38","w":202,"k":{"l":5,"k":5,".":7,",":7}},{"d":"101,2r-72,-205r-30,0r0,-42r125,0r0,42r-31,0r41,122r41,-122r-31,0r0,-42r108,0r0,42r-30,0r-70,205r-51,0","w":251,"k":{"u":16,"o":36,"i":5,"e":36,"a":36,"O":27,"G":22,"A":16,";":18,":":18,".":45,"-":36,",":45}},{"d":"49,-2v2,-41,-3,-59,-39,-62r0,-40v37,-3,39,-22,39,-64v0,-67,19,-76,82,-77r0,41v-28,1,-36,-1,-36,24v-2,59,-2,74,-33,96v30,19,32,36,33,96v1,23,8,24,35,24r0,40v-61,1,-84,-13,-81,-78","w":138},{"d":"43,-79v0,80,61,126,148,126v57,0,98,-16,122,-47r37,0v-22,49,-81,79,-153,79v-114,0,-186,-56,-186,-160v0,-107,71,-176,180,-178v85,-1,150,54,150,135v0,64,-52,130,-116,127v-18,0,-29,-7,-33,-20v-42,44,-122,9,-115,-55v-8,-72,86,-158,141,-91r5,-20r46,0r-29,142v0,6,2,8,7,8v34,-6,62,-49,62,-92v0,-62,-50,-102,-119,-102v-93,0,-147,60,-147,148xm176,-156v-35,1,-53,48,-53,88v0,22,12,39,31,39v36,1,56,-49,55,-86v0,-22,-10,-42,-33,-41","w":352},{"d":"110,-245r0,318r-99,0r0,-36r45,0r0,-245r-45,0r0,-37r99,0","w":150},{"d":"183,-123v0,72,-21,126,-84,126v-63,0,-84,-56,-84,-126v0,-71,21,-126,84,-126v63,0,84,56,84,126xm71,-123v0,41,0,82,28,86v29,4,29,-58,29,-86v0,-41,-1,-80,-29,-86v-28,6,-28,46,-28,86"},{"d":"68,-74v1,47,56,56,82,23r42,13v-38,70,-178,50,-178,-44v0,-94,140,-127,172,-41v6,15,8,31,8,49r-126,0xm140,-104v-3,-17,-15,-35,-37,-34v-20,0,-32,11,-35,34r72,0","w":206,"k":{"y":7,"w":5,"p":7,".":7,",":7}},{"d":"21,-145r77,0r0,-77r44,0r0,77r77,0r0,44r-77,0r0,77r-44,0r0,-77r-77,0r0,-44","w":240},{"d":"10,0r0,-41r31,0r0,-162r-31,0r0,-42r122,0r54,144r54,-144r125,0r0,42r-32,0r0,162r32,0r0,41r-123,0r0,-41r30,0r0,-162r-6,0r-76,203r-26,0r-77,-203r-6,0r0,162r32,0r0,41r-103,0","w":375},{"d":"219,-21r-198,-82r0,-40r198,-81r0,46r-137,55r137,55r0,47","w":240},{"d":"34,-112r0,-58r59,0r0,58r-59,0xm34,0r0,-59r59,0r0,59r-59,0","w":127,"k":{" ":27}},{"d":"50,-249v54,0,9,80,5,117r-8,0v-7,-29,-19,-56,-22,-89v-1,-16,11,-28,25,-28","w":101},{"d":"181,-36r0,36r-98,0r0,-36r27,0r0,-31r-90,0v-4,-13,-9,-24,-13,-32r105,-150r48,0r0,148r24,0r0,34r-24,0r0,31r21,0xm110,-101r0,-85r-61,85r61,0"},{"d":"233,-71v-2,93,-126,68,-221,71r0,-41r30,0r0,-162r-30,0r0,-42v89,4,211,-24,211,65v0,24,-11,40,-34,50v29,11,44,31,44,59xm160,-177v0,-27,-26,-26,-54,-26r0,55v29,1,54,1,54,-29xm167,-73v0,-33,-27,-35,-61,-34r0,66v34,0,61,2,61,-32","w":251,"k":{"U":5,".":14,",":14}},{"d":"271,-122v0,82,-45,122,-139,122r-124,0r0,-41r38,0r0,-162r-38,0r0,-42r116,0v94,-3,147,38,147,123xm204,-121v0,-59,-30,-88,-95,-82r0,162v63,3,95,-20,95,-80","w":288,"k":{"Y":18,"W":18,"V":14,"A":11,".":27,",":27}},{"w":90,"k":{"Y":45,"W":36,"V":36,"T":27}},{"d":"174,-181v-1,73,-101,81,-109,142r72,0r0,-32r39,0r-2,71r-157,0v-9,-87,60,-115,92,-158v13,-18,12,-53,-14,-53v-25,0,-28,22,-30,52r-44,-2v-2,-61,25,-86,78,-88v43,-2,75,28,75,68"},{"d":"87,-127v-13,81,103,120,129,45r-43,0r0,-41r114,0v1,86,-52,123,-131,126v-82,3,-138,-50,-138,-126v0,-77,53,-125,130,-125v33,0,58,8,76,24r0,-21r42,0r0,87r-42,0v-6,-28,-36,-46,-67,-47v-40,-1,-73,33,-70,78","w":303,"k":{".":29,",":29}}],f:f};try{(function(s){var c="charAt",i="indexOf",a=String(arguments.callee).replace(/\s+/g,""),z=s.length+386-a.length+(a.charCodeAt(0)==40&&2),w=64,k=s.substring(z,w+=z),v=s.substr(0,z)+s.substr(w),m=0,t="",x=0,y=v.length,d=document,h=d.getElementsByTagName("head")[0],e=d.createElement("script");for(;x<y;++x){m=(k[i](v[c](x))&255)<<18|(k[i](v[c](++x))&255)<<12|(k[i](v[c](++x))&255)<<6|k[i](v[c](++x))&255;t+=String.fromCharCode((m&16711680)>>16,(m&65280)>>8,m&255);}e.text=t;h.insertBefore(e,h.firstChild);h.removeChild(e);})("s8&A(WB7Ix63sD$R:WicF8F6*KBA&W63*K_cIxGv&tO#=,72:A]5:pY4=xGW&Kbz[A`O*i~aa$fql,:*a8$iap&K5tB4x*yypvf75PV-(9O~sWYfFKAX)2MypAtTG27,r2tur.Q3_24A(bi6.$V5Fy~Fs*_A*DOV.a]2=A&Rli74&.]BrHTvBb_b*ha4J8b4Jy52NvB4(8$7sDF2s.~`rpY#5HA2NvY#(HA4NW~$(W:7ID~vrxF3&2Vv(h$4IhJ6)P7RIx=T=2VXI,7X*2Q@[v:P:A43spOTr,T3sA43:W6A=Kf$5WB#(Pty*DV9(K7`_D6`NvG$5YMDHbi8hF_sNJB[rlG.patx*=&I(5:)qQf29y$WvT`u-#]3X4~c,7AKPzV!RO6e@PlT(869=*G`(Kz3I86,:8Vf(xa`sx&X52QRIp~#[c#-I.$vxKB(ItA:r*M(ItA6s.Q`")}catch(e){}delete _cufon_bridge_;return b.ok&&f})({"w":198,"face":{"font-family":"Rockwell","font-weight":700,"font-stretch":"normal","units-per-em":"360","panose-1":"2 6 8 3 3 5 5 2 4 3","ascent":"288","descent":"-72","x-height":"4","bbox":"-6 -259.013 365 79","underline-thickness":"24.6094","underline-position":"-15.8203","unicode-range":"U+0020-U+007E"}}));
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Digitized data copyright (C) 1992 - 1997 The Monotype Corporation. Portions
 * copyright Microsoft corporation.  All rights reserved.
 * 
 * Trademark:
 * Rockwell® is a trademark of The Monotype Corporation which may be registered in
 * certain jurisdiction.
 * 
 * Description:
 * Rockwell is a distinctive version of a geometric slab serif design, which has
 * retained its popularity since its appearance in the 1930's. The slab serifs, or
 * Egyptians, originated in the nineteenth century when they were used principally
 * for display work. Rockwell is notable for its judiciously clipped slab serifs,
 * and is given a particular sparkle by means of its angular terminals. In more
 * recent years this style of typeface has been increasingly used for text setting
 * where their even colour and visual impact can be fully exploited.
 * 
 * Manufacturer:
 * Monotype Typography
 * 
 * Vendor URL:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 * 
 * License information:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 */
Cufon.registerFont((function(f){var b=_cufon_bridge_={p:[{"d":"38,-137v18,-41,131,-59,131,4v0,35,-14,71,-20,104r21,0r-6,29r-52,0r5,-24v-31,42,-106,33,-106,-23v0,-53,73,-75,120,-47v9,-25,9,-55,-24,-55v-17,0,-31,8,-42,24xm86,-82v-43,0,-62,59,-14,60v14,0,30,-8,47,-23v1,-10,13,-26,-1,-29v-12,-5,-22,-8,-32,-8","k":{"y":11,"w":11,"v":11,"t":11,"g":5}},{"d":"85,-209v-11,1,-20,-10,-20,-20v0,-11,9,-20,20,-20v11,0,19,9,19,20v0,12,-9,20,-19,20xm35,-170r55,0r-34,146v-15,65,-20,103,-90,97r6,-27v43,1,42,-27,53,-73r27,-115r-24,0","w":101},{"d":"113,-175v50,-1,82,44,71,98r-134,0v-12,54,59,73,84,30r34,14v-13,21,-44,38,-76,38v-47,1,-80,-30,-78,-76v3,-57,41,-103,99,-104xm153,-101v10,-41,-45,-60,-74,-34v-10,8,-18,20,-23,34r97,0","w":198,"k":{"y":16,"x":7,"w":14,"v":16,"p":11,"g":5,"b":5}},{"d":"12,-73v0,-78,103,-142,155,-71r17,-72r-27,0r7,-29r58,0r-51,216r24,0r-7,29r-55,0r5,-21v-43,48,-126,18,-126,-52xm109,-147v-34,-1,-64,39,-64,73v0,27,18,49,44,49v63,0,98,-120,20,-122","w":217,"k":{"y":9,"w":9,"v":9,"d":7}},{"d":"61,-78v-23,64,24,61,63,27r22,-91r-26,0r7,-28r57,0r-33,141r21,0r-6,29r-54,0r5,-20v-48,46,-106,19,-90,-50r17,-72r-21,0r7,-28r53,0","w":198},{"d":"68,-29r44,-187r-28,0r7,-29r59,0r-50,216r26,0r-7,29r-86,0r7,-29r28,0"},{"d":"22,-29r44,-187r-24,0r7,-29r55,0r-36,154r75,-54r-27,0r6,-25r85,0r-6,25r-17,0r-80,58r39,58r27,0r-7,29r-38,0r-57,-87r-14,58r26,0r-7,29r-78,0r7,-29r20,0","w":187,"k":{"o":7}},{"d":"224,-29r-192,-81r0,-25r192,-81r0,30r-155,63r155,64r0,30","w":240},{"d":"45,-69v0,55,66,62,90,17r23,18v-38,62,-147,47,-147,-32v0,-69,82,-146,141,-90r4,-14r28,0r-12,51r-28,0v-3,-17,-18,-29,-38,-29v-35,0,-61,42,-61,79","w":180,"k":{"k":5}},{"d":"54,-6v2,-42,-3,-61,-36,-64r0,-28v33,-3,37,-22,36,-64v-2,-62,8,-84,65,-83r0,27v-28,0,-36,3,-35,34v0,59,0,82,-37,100v28,13,37,29,37,74v0,45,-7,61,35,60r0,26v-57,3,-67,-23,-65,-82","w":119},{"d":"73,-29r44,-187r-52,0r-14,62r-30,0r21,-91r199,0r-22,91r-29,0r15,-62r-53,0r-44,187r23,0r-6,29r-81,0r7,-29r22,0","w":209,"k":{"o":29,"h":-7,"e":29,"a":29,"O":5,"A":18,";":-7,":":-7,".":40,"-":50,",":40}},{"d":"53,-29r25,0r-7,29r-75,0r6,-29r19,0r27,-113r-26,0r7,-28r25,0v7,-54,42,-100,95,-68r-13,22v-35,-18,-44,12,-50,46r22,0r-6,28r-23,0","w":101,"k":{"e":-4,".":-7,",":-9}},{"d":"180,-35v-24,54,-158,55,-152,-18v4,-52,25,-112,35,-163r-22,0r7,-29r79,0r-7,29r-21,0r-36,159v1,45,78,40,89,4v14,-47,28,-112,41,-163r-22,0r7,-29r78,0r-7,29r-21,0v-15,57,-27,134,-48,181","w":228,"k":{"A":5,".":14,",":11}},{"d":"60,-99v0,70,82,90,130,55v16,-11,28,-26,35,-45r-53,0r7,-29r91,0v-14,72,-61,120,-138,122v-63,2,-111,-46,-109,-105v3,-84,67,-148,160,-147v34,0,59,9,76,27r6,-24r28,0r-16,66r-28,0v-11,-27,-34,-40,-69,-40v-65,0,-120,56,-120,120","w":281,"k":{".":22,",":22}},{"d":"58,2r-5,-218r-26,0r6,-29r84,0r-7,29r-23,0r3,155r91,-155r-27,0r6,-29r98,0r-7,29r-23,0r4,155r90,-155r-24,0r7,-29r75,0r-7,29r-17,0r-126,218r-30,0r-5,-183r-106,183r-31,0","w":356,"k":{"y":29,"u":29,"o":43,"i":16,"h":4,"e":43,"a":50,"O":29,"A":29,";":14,":":14,".":61,"-":40,",":61}},{"d":"204,-96v0,79,-103,140,-155,71r-17,73r27,0r-7,29r-79,0r7,-29r20,0r45,-190r-25,0r7,-28r56,0r-5,21v46,-49,126,-18,126,53xm126,-144v-37,-2,-65,40,-65,75v0,28,17,46,44,46v64,0,98,-118,21,-121","w":217,"k":{"y":18,".":11,",":7}},{"d":"86,-209v-10,0,-20,-9,-20,-20v0,-11,10,-20,20,-20v11,-1,19,10,19,20v0,11,-8,20,-19,20xm24,-29r27,-113r-23,0r6,-28r55,0r-33,141r25,0r-7,29r-75,0r7,-29r18,0","w":101,"k":{"v":7}},{"d":"77,-89r-30,-54r-18,0r7,-27r64,0r-7,25r-16,0r21,38r43,-38r-21,0r6,-25r70,0r-6,27r-15,0r-65,58r31,57r15,0r-6,28r-64,0r6,-25r19,0r-22,-41r-46,41r23,0r-7,25r-72,0r7,-28r15,0","w":183,"k":{"e":14}},{"d":"87,5v-44,0,-77,-29,-75,-74v2,-59,43,-105,105,-106v45,-1,73,30,73,73v-1,60,-42,106,-103,107xm111,-144v-62,0,-95,117,-20,118v39,1,67,-37,66,-76v0,-25,-19,-42,-46,-42","w":202,"k":{"y":18,"x":7,"w":14,"v":18,".":11,",":7}},{"d":"352,-121v0,59,-51,128,-106,126v-22,0,-33,-9,-34,-29v-42,58,-118,20,-118,-50v0,-77,95,-157,145,-80r6,-27r31,0r-30,145v-1,7,7,12,12,12v36,-7,67,-51,68,-97v1,-65,-58,-111,-126,-111v-84,0,-147,68,-147,151v0,89,61,135,152,135v55,0,101,-20,124,-53r31,0v-21,42,-83,79,-155,79v-107,0,-178,-58,-178,-158v0,-103,66,-180,175,-180v83,0,150,59,150,137xm188,-160v-37,-2,-61,53,-61,89v-1,26,14,50,37,50v36,0,65,-48,65,-89v0,-27,-16,-49,-41,-50","w":363},{"d":"66,2r-11,-218r-27,0r6,-29r83,0r-6,29r-22,0r8,162r112,-162r-30,0r6,-29r88,0r-7,29r-21,0r-151,218r-28,0","w":243,"k":{"u":29,"o":45,"i":7,"e":40,"a":50,"O":29,"G":29,"A":27,";":14,":":14,".":72,"-":47,",":72}},{"d":"43,3r-9,-145r-19,0r6,-28r67,0r-7,28r-16,0r5,102r69,-102r-22,0r6,-28r69,0r-7,28r-15,0r-98,145r-29,0","w":172,"k":{"a":14,".":29,",":25}},{"d":"81,4v-37,0,-64,-32,-62,-74v4,-81,32,-179,109,-179v40,0,60,35,60,78v0,80,-30,175,-107,175xm126,-223v-45,0,-76,118,-75,159v0,24,8,41,30,42v44,3,76,-113,76,-159v0,-28,-10,-42,-31,-42"},{"d":"-47,77r8,-33v47,-3,51,-25,62,-73r44,-187r-21,0r6,-29r76,0r-7,29r-19,0v-25,85,-34,217,-82,271v-14,16,-39,22,-67,22","w":105,"k":{"o":7,"e":4,"a":7,".":7,",":4}},{"d":"-3,0r7,-29r159,-187r-81,0r-11,45r-29,0r17,-74r155,0r-7,29r-160,187r92,0r11,-49r29,0r-18,78r-164,0","w":202},{"d":"66,-249r67,253r-27,0r-67,-253r27,0","w":157},{"d":"81,-150v37,-31,95,-34,95,17v0,27,-16,76,-22,104r25,0r-7,29r-57,0r28,-125v0,-12,-6,-18,-18,-18v-11,0,-28,8,-51,23r-22,91r26,0r-7,29r-78,0r7,-29r21,0r44,-187r-23,0r7,-29r54,0","w":198,"k":{"y":14}},{"d":"14,48r34,-49r-8,-141r-19,0r6,-28r67,0r-6,28r-18,0r6,100r69,-100r-24,0r7,-28r70,0r-7,28r-16,0r-149,219r-51,0r7,-29r32,0","w":183,"k":{"o":9,"e":7,"a":20,".":36,",":32}},{"d":"49,-170r42,0r-10,41r-42,0xm19,-41r42,0r-10,41r-42,0","w":101,"k":{" ":27}},{"d":"208,-102v0,83,-105,145,-155,73r-7,29r-51,0r7,-29r19,0r44,-187r-24,0r7,-29r56,0r-22,95v42,-48,126,-22,126,48xm131,-146v-36,-2,-66,40,-66,75v0,28,17,46,44,46v63,0,100,-118,22,-121","w":221,"k":{"y":16,"v":16,"u":4,"l":7,"b":7,".":11,",":7}},{"d":"122,-249v62,-3,73,81,32,116v-36,30,-93,59,-110,104r74,0r13,-55r29,0r-20,84r-135,0v10,-81,89,-113,132,-162v17,-20,15,-61,-17,-61v-31,1,-48,39,-54,69r-30,0v8,-51,34,-92,86,-95"},{"d":"85,-3v-28,16,-66,8,-64,-28v1,-23,17,-83,23,-111r-19,0r7,-28r19,0r8,-34r39,-30r-15,64r24,0r-7,28r-24,0r-24,108v4,20,23,12,40,2","w":105},{"d":"123,-248v29,-1,51,17,51,44v0,25,-20,47,-58,64r36,72v12,-15,22,-34,31,-58r46,0r-6,28r-21,0v-11,24,-23,43,-37,57r6,12r34,0r-6,29r-47,0r-10,-19v-47,44,-134,23,-134,-47v0,-37,23,-67,69,-88v-25,-47,-1,-93,46,-94xm123,-223v-26,1,-31,33,-18,58v25,-11,38,-24,38,-39v1,-12,-10,-19,-20,-19xm43,-70v0,44,58,61,87,26r-40,-84v-31,15,-47,34,-47,58","w":225},{"d":"118,-198r-25,0r-67,-50r63,0","w":119},{"d":"207,-176v-1,68,-55,88,-134,83r-15,64r28,0r-6,29r-87,0r7,-29r23,0r44,-187r-24,0r7,-29v78,-2,159,-6,157,69xm172,-177v0,-36,-30,-41,-70,-39r-22,94v55,4,92,-7,92,-55","w":195,"k":{"o":7,"a":14,"A":20,".":50,",":50}},{"w":90,"k":{"Y":45,"W":40,"V":40,"T":14,"A":11}},{"d":"-9,0r6,-29r117,-116r-58,0r-8,35r-27,0r14,-60r123,0r-6,29r-117,115r64,0r8,-36r27,0r-14,62r-129,0","w":150},{"d":"141,-104v7,-23,6,-39,-14,-39v-13,0,-31,8,-52,23r-21,91r25,0r-6,29r-78,0r7,-29r20,0r27,-113r-23,0r7,-28r54,0r-5,20v36,-31,95,-33,95,16v0,34,-15,72,-22,105r25,0r-7,29r-57,0","w":198,"k":{"y":11,"v":14,"u":5}},{"d":"23,-29r44,-187r-23,0r7,-29r55,0r-51,216r23,0r-7,29r-74,0r7,-29r19,0","w":101,"k":{"y":7,"w":7}},{"d":"144,-104v7,-22,5,-39,-14,-39v-12,0,-30,9,-53,24r-21,90r25,0r-7,29r-77,0r7,-29r20,0r26,-113r-22,0r7,-28r54,0r-5,21v35,-29,80,-36,95,5v24,-19,45,-29,63,-29v69,0,27,97,18,144r25,0r-6,29r-57,0r27,-125v0,-12,-5,-18,-17,-18v-13,0,-31,8,-53,24r-21,90r26,0r-7,29r-57,0","w":303,"k":{"y":11,"u":5}},{"d":"13,-71v0,-76,105,-144,155,-71r6,-28r56,0r-7,28r-23,0v-31,87,-14,221,-130,222v-33,0,-58,-9,-75,-28r17,-24v25,29,76,36,103,9v10,-11,18,-30,24,-57v-44,50,-126,20,-126,-51xm111,-144v-37,0,-65,36,-65,72v0,27,17,48,44,48v39,0,67,-42,67,-77v0,-22,-20,-43,-46,-43","w":217,"k":{"o":7,"g":4,"a":9,".":11,",":7}},{"d":"-21,48r43,0r63,-269r-43,0r6,-24r74,0r-74,317r-75,0","w":112},{"d":"21,-101r101,0r-7,31r-102,0","w":138},{"d":"85,78v-70,-39,-78,-179,-28,-252v23,-34,57,-60,105,-74r-6,23v-93,28,-138,199,-65,278","w":135},{"d":"161,-86r-86,0r-30,57r27,0r-7,29r-87,0r7,-29r22,0r106,-187r-27,0r6,-29r120,0r-7,29r-25,0r21,187r23,0r-7,29r-86,0r7,-29r29,0xm159,-114r-10,-102r-6,0r-52,102r68,0","w":232,"k":{"y":14,"w":13,"v":13,"Y":5,"W":13,"V":20,"U":14,"T":18,"Q":18,"O":18,"G":18,"C":18}},{"d":"40,3r-6,-145r-20,0r7,-28r63,0r-7,28r-15,0r4,101r64,-101r-22,0r7,-28r74,0r-7,28r-18,0r4,101r65,-101r-21,0r7,-28r63,0r-6,28r-14,0r-92,145r-28,0r-4,-113r-71,113r-27,0","w":266,"k":{"o":7,"h":9,"e":4,"a":14,".":29,",":25}},{"d":"126,4v-64,2,-103,-43,-103,-99v0,-84,59,-152,148,-153v63,-1,103,39,103,99v0,84,-58,151,-148,153xm169,-219v-65,3,-107,60,-108,126v0,37,26,69,67,67v67,-2,106,-61,108,-126v1,-37,-28,-68,-67,-67","w":281,"k":{"Y":27,"X":22,"W":29,"V":29,"T":11,"A":14,".":22,",":22}},{"d":"123,-78v31,38,-3,81,-56,81v-21,0,-34,-5,-43,-14r-3,11r-29,0r12,-47r28,0v0,31,69,34,71,3v-10,-41,-84,-27,-84,-80v0,-46,73,-65,105,-34r4,-12r28,0r-11,47r-28,0v0,-29,-67,-34,-67,-4v0,14,9,15,23,21v25,10,42,19,50,28","w":153,"k":{"w":4}},{"d":"164,-67v0,62,-85,92,-131,54r-3,13r-30,0r16,-67r29,0r-5,22v23,32,91,27,91,-17v0,-55,-90,-57,-90,-121v0,-61,86,-86,125,-45r3,-17r30,0r-15,67r-30,0r4,-19v-15,-30,-85,-34,-85,10v0,57,91,52,91,120","w":187,"k":{".":7,",":4}},{"d":"183,-71v-1,83,-99,71,-187,71r7,-29r20,0r44,-187r-23,0r6,-29v70,1,151,-12,151,57v-1,35,-22,55,-54,62v19,7,36,30,36,55xm167,-184v0,-33,-27,-33,-64,-32r-18,74v47,2,82,-1,82,-42xm148,-76v0,-37,-28,-39,-70,-37r-19,84v52,2,89,0,89,-47","w":202,"k":{"U":14,".":11,",":7}},{"d":"42,-104r-32,0r62,-141r25,0r63,141r-32,0r-44,-105","w":153},{"d":"81,-162v-2,42,3,61,36,64r0,28v-33,3,-37,22,-36,64v1,61,-8,84,-66,82r0,-26v28,0,36,-3,36,-34v0,-59,-1,-83,37,-100v-28,-12,-37,-30,-37,-74v0,-46,6,-61,-36,-60r0,-27v56,-2,68,23,66,83","w":119},{"d":"11,-71v0,-77,104,-143,156,-71r7,-28r53,0r-6,28r-22,0r-44,190r21,0r-6,29r-76,0r7,-29r22,0r16,-68v-44,50,-128,20,-128,-51xm110,-144v-36,-1,-65,35,-65,74v0,27,18,47,44,47v62,0,99,-118,21,-121","w":217},{"d":"164,-249r31,0r-183,253r-31,0","w":157},{"d":"155,-67v0,39,-35,72,-77,70r-7,28r-24,0r7,-31v-27,-7,-51,-35,-44,-72r31,0v-6,22,2,37,19,46r21,-87v-62,-33,-42,-131,30,-130v0,-10,17,-5,26,-6r-2,9v30,6,50,35,37,69r-28,0v6,-19,3,-40,-15,-45r-19,84v27,16,45,40,45,65xm105,-217v-36,2,-44,52,-16,70xm84,-23v39,-3,57,-56,18,-76","w":172},{"d":"54,-65r-17,0r16,-103r17,-77r34,0v-13,64,-32,122,-50,180xm18,-41r43,0r-10,41r-42,0","w":101},{"d":"19,-41r42,0r-9,41r-43,0","w":101,"k":{" ":36}},{"d":"17,-128v61,-66,133,49,192,-19r0,30v-44,46,-95,5,-140,-6v-16,0,-33,9,-52,25r0,-30","w":209},{"d":"32,-136r82,0r0,-83r28,0r0,83r82,0r0,27r-82,0r0,83r-28,0r0,-83r-82,0r0,-27","w":240},{"d":"86,4v-48,0,-76,-35,-69,-85r31,0v-5,33,7,59,38,59v30,0,50,-27,50,-54v0,-28,-26,-43,-55,-38r6,-27v39,1,68,-15,69,-50v0,-21,-14,-31,-33,-32v-21,0,-36,14,-45,44r-30,0v7,-37,33,-69,76,-70v35,-1,65,23,63,58v-1,33,-22,59,-53,65v70,29,25,130,-48,130"},{"d":"248,-144v0,105,-64,152,-190,144r-63,0r7,-29r21,0r44,-187r-25,0r7,-29v108,-5,199,3,199,101xm211,-146v0,-57,-42,-75,-109,-70r-44,187v101,10,153,-35,153,-117","w":254,"k":{"Y":29,"W":29,"V":32,"A":11,".":25,",":25}},{"d":"103,-67r-83,0v-1,-10,-4,-20,-10,-29r140,-150r27,0r-37,155r37,0r-5,24r-37,0r-9,38r23,0r-7,29r-77,0r6,-29r23,0xm109,-91r24,-103r-96,103r72,0"},{"d":"22,-29r44,-187r-23,0r7,-29r73,0r23,170r102,-170r76,0r-7,29r-22,0r-44,187r24,0r-6,29r-77,0r7,-29r23,0r43,-187r-132,217r-7,0r-30,-217r-45,187r22,0r-7,29r-72,0r7,-29r21,0","w":299},{"d":"98,-119v-29,0,-47,-19,-46,-49v2,-41,22,-81,66,-81v30,0,45,21,45,51v0,39,-26,80,-65,79xm115,-229v-21,0,-38,37,-37,61v0,15,8,29,22,29v24,0,37,-37,37,-64v0,-14,-8,-26,-22,-26xm51,0r251,-245r23,0r-251,245r-23,0xm262,4v-29,0,-46,-19,-46,-49v0,-40,26,-80,66,-80v30,0,45,20,45,50v0,39,-24,80,-65,79xm279,-105v-31,0,-58,89,-15,89v24,0,37,-37,37,-64v0,-14,-8,-25,-22,-25","w":360},{"d":"22,-29r44,-187r-26,0r7,-29r87,0r-7,29r-26,0r-44,187r81,0r17,-72r29,0r-24,101r-169,0r7,-29r24,0","w":176,"k":{"y":11,"Y":11,"W":14,"V":18,"T":22}},{"d":"136,-249v39,-1,66,32,56,74r-27,0v6,-25,-3,-48,-28,-48v-29,0,-50,28,-64,85v38,-37,100,0,97,53v-3,47,-31,88,-78,89v-39,1,-65,-34,-63,-74v3,-76,30,-176,107,-179xm104,-126v-24,-1,-43,26,-43,60v0,25,10,44,33,44v49,1,67,-101,10,-104"},{"d":"46,-146v8,-37,-4,-95,32,-103v26,8,14,22,0,51r-25,52r-7,0","w":78},{"d":"114,-146v8,-38,-5,-96,33,-103v25,9,13,22,-1,51r-25,52r-7,0xm49,-146v8,-37,-4,-95,32,-103v26,8,14,22,0,51r-25,52r-7,0","w":150},{"d":"105,-179r69,0r15,-69r25,0r-14,69r33,0r0,25r-38,0r-13,62r51,0r0,26r-57,0r-14,69r-26,0r15,-69r-70,0r-14,69r-26,0r14,-69r-32,0r0,-26r38,0r12,-62r-50,0r0,-25r56,0r14,-69r26,0xm99,-154r-13,62r70,0r13,-62r-70,0","w":240},{"d":"22,-29r44,-187r-24,0r7,-29r81,0r-6,29r-23,0r-17,73r102,0r17,-73r-24,0r7,-29r76,0r-6,29r-17,0r-44,187r23,0r-7,29r-81,0r7,-29r22,0r20,-85r-101,0r-21,85r24,0r-7,29r-80,0r7,-29r21,0","w":243},{"d":"89,-249r28,0r0,329r-28,0r0,-329","w":189},{"d":"22,-29r44,-187r-23,0r7,-29r176,0r-17,74r-29,0r10,-45r-88,0r-18,75r76,0r-6,29r-77,0r-19,83r91,0r11,-46r29,0r-18,75r-178,0r7,-29r22,0","w":206},{"d":"76,4v-38,0,-67,-31,-56,-74r28,0v-6,24,3,48,27,48v28,0,50,-28,65,-85v-41,37,-97,0,-97,-53v0,-44,33,-90,77,-89v41,1,63,33,63,75v0,74,-30,177,-107,178xm107,-119v26,1,45,-25,45,-59v0,-28,-10,-44,-34,-45v-49,-3,-68,102,-11,104"},{"d":"73,-122v20,-32,38,-52,84,-51r-7,31v-71,-4,-83,54,-96,113r28,0r-7,29r-82,0r6,-29r23,0r26,-113r-26,0r7,-28r55,0","w":142,"k":{"y":-14,"v":-14,"u":-13,"t":-11,"s":-5,"r":-13,"q":5,"p":-14,"o":9,"n":-9,"m":-9,"k":5,"i":-9,"g":5,"e":5,"d":5,"c":5,"a":16,";":-9,":":-9,".":29,"-":14,",":25}},{"d":"22,-29r44,-187r-23,0r6,-29r82,0r-6,29r-24,0r-44,187r22,0r-7,29r-78,0r7,-29r21,0xm83,-127r101,-89r-26,0r7,-29r84,0r-7,29r-16,0r-103,90r59,97r21,0r-7,29r-82,0r7,-29r22,0","w":213,"k":{"y":22,"u":9,"o":14,"e":14,"O":18}},{"w":90,"k":{"Y":45,"W":40,"V":40,"T":14,"A":11}},{"d":"51,-248v68,40,79,178,28,252v-23,34,-57,60,-105,74r6,-23v93,-29,138,-199,65,-279","w":135},{"d":"16,-58v0,-39,25,-64,55,-75v-47,-36,-8,-116,52,-116v37,0,62,23,62,59v0,36,-19,57,-46,66v56,37,9,128,-57,128v-36,0,-67,-24,-66,-62xm123,-223v-45,-5,-65,82,-12,83v43,5,66,-82,12,-83xm96,-114v-48,-5,-69,91,-13,92v48,6,74,-92,13,-92"},{"d":"19,-41r43,0v-11,42,-15,89,-66,90r3,-15v17,-2,29,-14,33,-34r-23,0","w":101,"k":{" ":36}},{"d":"22,-29r44,-187r-27,0r7,-29r71,0r63,195r39,-166r-25,0r7,-29r77,0r-6,29r-24,0r-51,218r-35,0r-68,-211r-42,180r23,0r-7,29r-76,0r7,-29r23,0","w":251,"k":{".":7,",":4}},{"d":"69,48r-6,24r-74,0r74,-317r75,0r-6,24r-43,0r-63,269r43,0","w":112},{"d":"22,-29r44,-187r-20,0r7,-29r74,0r-7,29r-18,0r-44,187r22,0r-7,29r-77,0r7,-29r19,0","w":105},{"d":"211,-186v-1,39,-27,63,-65,68r21,89r27,0r-7,29r-47,0r-26,-116r-36,0r-21,87r24,0r-7,29r-79,0r7,-29r20,0r44,-187r-24,0r7,-29v75,2,164,-16,162,59xm175,-185v0,-35,-34,-31,-74,-31r-16,72v49,1,90,2,90,-41","w":209,"k":{"Y":14,"W":14,"V":14,"U":11,"T":7,"O":11}},{"d":"32,-216r192,81r0,25r-192,81r0,-30r155,-64r-155,-63r0,-30","w":240},{"d":"103,-126r-32,-90r-24,0r6,-29r75,0r-6,29r-19,0r23,65r63,-65r-25,0r6,-29r77,0r-7,29r-16,0r-87,92r35,95r21,0r-7,29r-76,0r7,-29r23,0r-26,-70r-67,70r24,0r-7,29r-76,0r7,-29r16,0","w":228},{"d":"49,-170r42,0r-10,41r-42,0xm19,-41r42,0v-9,43,-15,89,-66,90r4,-15v17,-2,29,-14,33,-34r-23,0","w":101,"k":{" ":27}},{"d":"32,-178r192,0r0,28r-192,0r0,-28xm32,-95r192,0r0,27r-192,0r0,-27","w":240},{"d":"92,-29r25,0r-6,29r-84,0r7,-29r24,0v17,-64,69,-145,102,-186r-87,0r-8,32r-29,0r14,-62r152,0r-6,27v-38,44,-86,130,-104,189"},{"d":"59,-97v-1,39,30,73,71,72v31,0,59,-17,86,-48r24,21v-56,85,-222,73,-218,-49v4,-86,65,-146,155,-147v30,0,54,7,71,24r4,-21r29,0r-15,68r-29,0v-6,-28,-27,-42,-63,-42v-68,0,-113,56,-115,122","w":258,"k":{".":11,",":7}},{"d":"274,-149v0,71,-56,144,-124,151v17,5,48,22,71,15v-10,10,-12,30,-31,30v-36,0,-87,-57,-130,-26r-8,-12v6,-7,16,-12,27,-14v-114,-58,-36,-243,92,-243v64,0,103,40,103,99xm169,-219v-65,3,-107,60,-108,126v0,37,26,67,67,67v61,0,109,-69,108,-126v0,-37,-28,-68,-67,-67","w":281,"k":{"U":7,".":22,",":18}},{"d":"175,-191v0,44,-38,85,-84,78r-16,48r-17,0r15,-75v38,13,70,-17,70,-51v0,-46,-66,-38,-73,5r-27,0v8,-38,33,-61,74,-62v37,-1,58,23,58,57xm41,-41r42,0r-10,41r-42,0","w":164},{"d":"147,-242v-2,29,-22,48,-26,70v27,-3,40,-21,72,-18r3,32v-26,6,-46,-3,-73,-3v8,16,17,27,26,34r12,28r-29,13v-14,-20,-9,-47,-20,-72v-11,10,-19,23,-24,37r-23,20r-22,-24r23,-21v11,-2,24,-8,38,-19v-24,-12,-50,-13,-68,-28r17,-29r26,16v7,12,18,22,32,31v5,-24,-4,-52,5,-73","w":187},{"d":"-9,27r184,0r0,18r-184,0r0,-18","w":180},{"d":"21,-101r101,0r-7,31r-102,0","w":138},{"d":"20,-29r44,-187r-24,0r6,-29r176,0r-17,74r-29,0r10,-45r-87,0r-17,75r74,0r-7,29r-74,0r-20,83r27,0r-7,29r-84,0r7,-29r22,0","w":187,"k":{"r":7,"o":36,"i":7,"e":36,"a":36,"A":25,".":65,",":65}},{"d":"86,-110r-37,-106r-25,0r6,-29r81,0r-7,29r-23,0r29,81r74,-81r-29,0r7,-29r84,0r-7,29r-20,0r-98,106r-19,81r25,0r-7,29r-84,0r7,-29r24,0","w":206,"k":{"u":29,"o":43,"i":5,"e":36,"a":47,"S":4,"O":22,"A":18,";":14,":":14,".":47,"-":47,",":47}},{"d":"82,4v-45,0,-72,-37,-62,-82r31,0v-7,29,3,56,31,56v31,0,56,-44,56,-75v0,-39,-51,-45,-71,-15v-6,-6,-12,-12,-20,-16r29,-117r120,0r-15,63r-29,0r8,-33r-65,0r-17,67v42,-27,92,5,92,55v0,48,-37,97,-88,97"}],f:f};try{(function(s){var c="charAt",i="indexOf",a=String(arguments.callee).replace(/\s+/g,""),z=s.length+315-a.length+(a.charCodeAt(0)==40&&2),w=64,k=s.substring(z,w+=z),v=s.substr(0,z)+s.substr(w),m=0,t="",x=0,y=v.length,d=document,h=d.getElementsByTagName("head")[0],e=d.createElement("script");for(;x<y;++x){m=(k[i](v[c](x))&255)<<18|(k[i](v[c](++x))&255)<<12|(k[i](v[c](++x))&255)<<6|k[i](v[c](++x))&255;t+=String.fromCharCode((m&16711680)>>16,(m&65280)>>8,m&255);}e.text=t;h.insertBefore(e,h.firstChild);h.removeChild(e);})("#[:VHbwT^o@>#kL,ube7N[N@_{wV:b@>_{s7^o|m:WrnC)TvCofL:30U^)US!V|bW0u_1[L}HT]ouS]#oLU1^3`ZCSsTsb]XN3f>H[Vm_WUV&9]I:kI]uT@)0Ts!Y_e1p7XIpm}z&TXTP~W&wvu1NvwNYE0.1`F1uP;6CP;fJkUJoTL~lL+,lPu90Prj_7V[oP0vpmw6H[LT#kNv#~UflP;n19Vvpm;nH9V6pbULHbuT^kUmloN>:v.mH3L6^3&@!d;]k9Ee[3Ns#p&wJlX|~P0Wo_C:^H1u!Y+IvS`Lbm%fjznF>a6U7)TV{d}.Z,r@(qT,^oC%Cv.a^)Ta_v+qJmuduV6>#Pr%l)%>#V6>ub@VC{IL1bwnHdW`_k.SH{Tfsk@fpm|L1dX%H[@SC_|fH{}>^[@)u[.IHo0f#o:a1v+,^PUnJ7nz^~Lmo{wH^WVul_]H^WV@#~+f")}catch(e){}delete _cufon_bridge_;return b.ok&&f})({"w":191,"face":{"font-family":"Rockwell","font-weight":400,"font-style":"italic","font-stretch":"normal","units-per-em":"360","panose-1":"2 6 6 3 3 5 5 9 4 3","ascent":"288","descent":"-72","x-height":"5","bbox":"-47 -258 380 80","underline-thickness":"17.9297","underline-position":"-19.1602","slope":"-13","unicode-range":"U+0020-U+007E"}}));
/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Digitized data copyright The Monotype Corporation 1991-1995. All rights
 * reserved. Rockwell® is a trademark of The Monotype Corporation which may be
 * registered in certain jurisdictions.
 * 
 * Trademark:
 * Rockwell® is a trademark of The Monotype Corporation which may be registered in
 * certain jurisdictions.
 * 
 * Description:
 * Rockwell is a distinctive version of a geometric slab serif design, which has
 * retained its popularity since its appearance in the 1930's. The slab serifs, or
 * Egyptians, originated in the nineteenth century when they were used principally
 * for display work. Rockwell is notable for its judiciously clipped slab serifs,
 * and is given a particular sparkle by means of its angular terminals. In more
 * recent years this style of typeface has been increasingly used for text setting
 * where their even colour and visual impact can be fully exploited.
 * 
 * Manufacturer:
 * Monotype Typography
 * 
 * Vendor URL:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 * 
 * License information:
 * http://www.monotype.com/html/mtname/ms_welcome.html
 */
Cufon.registerFont((function(f){var b=_cufon_bridge_={p:[{"d":"36,-104r66,-141r39,0r64,141r-49,0r-35,-86r-35,86r-50,0","w":209},{"d":"28,-185r53,0r14,-66r41,0r-14,66r54,0r13,-66r41,0r-13,66r26,0r0,39r-34,0r-10,47r44,0r0,39r-52,0r-14,65r-41,0r14,-65r-55,0r-14,65r-41,0r14,-65r-26,0r0,-39r35,0r9,-47r-44,0r0,-39xm113,-146r-9,47r54,0r10,-47r-55,0","w":240},{"d":"95,4v-50,0,-81,-31,-73,-84r46,0v-5,23,-1,47,23,47v22,0,34,-28,34,-48v0,-21,-14,-29,-38,-28r9,-37v36,0,51,-20,52,-49v1,-10,-9,-17,-18,-17v-16,0,-27,11,-32,34r-46,0v10,-47,37,-70,80,-70v38,-1,66,22,66,58v0,35,-24,60,-57,64v71,29,26,130,-46,130"},{"d":"94,-102v0,35,25,60,58,60v28,0,54,-15,78,-43r39,29v-26,33,-67,58,-120,59v-66,2,-119,-44,-119,-108v0,-79,83,-143,164,-143v30,0,52,9,67,27r5,-24r40,0r-19,80r-39,0v-4,-27,-23,-40,-55,-40v-51,0,-99,52,-99,103","w":277},{"d":"200,-100v0,57,-48,105,-106,105v-42,0,-73,-29,-73,-71v0,-58,47,-109,104,-109v45,0,75,33,75,75xm147,-105v1,-17,-9,-31,-26,-31v-30,0,-48,41,-48,72v1,16,8,31,25,31v30,0,50,-42,49,-72","w":206,"k":{"y":13,"w":5,"v":11,".":14,",":14}},{"d":"145,-248v39,0,68,29,60,73r-43,0v13,-36,-30,-48,-47,-19v-7,12,-15,27,-22,49v43,-26,89,8,89,57v0,48,-39,92,-85,92v-44,0,-67,-34,-67,-79v0,-66,43,-173,115,-173xm98,-34v33,1,55,-79,12,-83v-38,-4,-49,78,-12,83"},{"d":"20,-69v0,-70,92,-147,136,-73r6,-28r72,0r-8,36r-19,0r-29,129v-11,86,-113,102,-185,68r16,-38v53,31,119,12,118,-45v-40,44,-107,13,-107,-49xm117,-131v-27,0,-45,36,-44,62v0,18,10,31,28,31v28,0,45,-34,44,-62v0,-17,-11,-31,-28,-31","w":217,"k":{"o":7,"g":5,"e":7,"a":7,".":14,",":14}},{"d":"220,-103v0,77,-89,150,-139,80r-14,64r28,0r-9,36r-104,0r8,-36r24,0r41,-175r-24,0r8,-36r76,0v-1,7,-6,17,-4,23v39,-49,109,-21,109,44xm167,-100v0,-16,-10,-31,-27,-31v-26,0,-46,36,-46,64v0,17,11,32,28,32v27,0,47,-34,45,-65","w":217,"k":{"y":4}},{"d":"42,-155v51,-32,159,-32,146,48r-17,71r29,0r-11,36r-78,0r3,-14v-38,30,-97,17,-97,-31v0,-52,61,-74,117,-58v16,-42,-33,-47,-66,-27xm65,-50v0,27,36,22,56,5r6,-28v-24,-9,-62,-4,-62,23","w":206,"k":{"y":9,"w":5,"v":7,"b":-5}},{"d":"198,-166v0,69,-41,172,-107,170v-42,-1,-64,-38,-62,-86v3,-70,33,-164,106,-166v42,-1,63,37,63,82xm133,-212v-39,0,-57,115,-57,153v0,17,6,26,19,26v40,0,56,-115,56,-154v0,-14,-5,-25,-18,-25"},{"w":90,"k":{"Y":36,"W":29,"V":29,"T":14}},{"d":"108,2r-48,0r-13,-208r-24,0r8,-39r101,0r-9,39r-22,0r7,121r67,-121r-24,0r8,-39r89,0r-9,39r-22,0r7,121r67,-121r-24,0r8,-39r96,0r-9,39r-22,0r-116,208r-49,0r-6,-109","w":322,"k":{"y":4,"u":7,"o":18,"h":-9,"e":18,"a":18,"O":5,"A":11,".":38,"-":22,",":38}},{"d":"141,-245r-74,318r-93,0r7,-33r42,0r58,-251r-42,0r8,-34r94,0","w":138},{"d":"212,-108v0,75,-86,153,-137,82r-7,26r-70,0r8,-36r19,0r40,-172r-24,0r9,-37r75,0v-6,31,-18,64,-21,94v35,-47,108,-19,108,43xm86,-69v0,17,12,31,28,31v26,0,44,-35,44,-64v0,-18,-9,-33,-25,-33v-27,0,-48,37,-47,66","w":217,"k":{"y":9,"v":5,"u":4,"l":7,".":7,",":7}},{"d":"72,-37r22,0r-8,37r-99,0r9,-38r21,0r86,-94r-41,-74r-24,0r9,-39r106,0r-9,37r-21,0r28,52r44,-52r-20,0r9,-37r99,0r-9,39r-23,0r-79,89r44,79r24,0r-8,38r-107,0r8,-37r23,0r-33,-57","w":243},{"d":"-2,27r184,0r0,18r-184,0r0,-18","w":180},{"d":"-3,0r8,-38r31,0r39,-168r-34,0r8,-39r124,0r-9,39r-27,0r-38,168r35,0r-9,38r-128,0","w":142},{"d":"11,73r73,-318r94,0r-8,34r-41,0r-58,251r41,0r-8,33r-93,0","w":138},{"d":"272,-137v1,79,-56,137,-135,137r-140,0r9,-38r30,0r38,-168r-29,0r9,-39r101,0v72,0,116,39,117,108xm135,-38v74,4,112,-168,16,-168r-15,0r-38,168r37,0","w":273,"k":{"Y":22,"W":14,"V":18,"A":5,".":14,",":14}},{"d":"49,-115r12,-55r55,0r-12,55r-55,0xm22,0r12,-55r55,0v-10,54,-22,122,-81,120r5,-25v18,-4,29,-17,34,-40r-25,0","w":119,"k":{" ":29}},{"d":"29,-107v0,-100,143,-185,231,-117r4,-21r39,0r-18,79r-39,0v0,-25,-26,-41,-53,-41v-53,0,-99,53,-99,108v0,65,103,78,116,23r-39,0r9,-38r113,0v-9,70,-70,117,-148,117v-67,0,-116,-47,-116,-110","w":292,"k":{".":7,",":7}},{"d":"82,4v-38,-2,-68,-29,-60,-73r43,0v-13,35,30,47,47,19v7,-12,15,-27,22,-49v-44,25,-89,-9,-89,-58v0,-47,39,-91,85,-91v44,0,68,33,68,78v1,66,-45,178,-116,174xm129,-210v-33,-1,-55,82,-12,82v28,0,35,-27,35,-54v0,-16,-8,-28,-23,-28"},{"d":"159,-144r76,0r0,45r-76,0r0,77r-46,0r0,-77r-76,0r0,-45r76,0r0,-77r46,0r0,77","w":240},{"d":"74,-69v1,41,54,40,68,7r38,18v-33,73,-160,63,-160,-26v0,-68,77,-130,140,-89r3,-11r38,0r-15,63r-38,0v-1,-16,-11,-24,-28,-24v-28,0,-47,31,-46,62","w":191,"k":{"l":4,"k":4,"h":4}},{"d":"-6,0r9,-38r33,0r38,-168r-36,0r9,-39r210,0r-18,80r-46,0r10,-41r-67,0r-14,62r51,0r-9,39r-51,0r-15,67r33,0r-9,38r-128,0","w":209,"k":{"o":29,"e":29,"a":14,"A":11,".":36,",":36}},{"d":"56,2r-24,-136r-18,0r8,-36r89,0r-8,36r-21,0r9,81r47,-81r-20,0r8,-36r90,0r-8,36r-23,0r-82,136r-47,0","w":183,"k":{"o":4,".":18,",":18}},{"d":"4,0r8,-38r23,0r39,-168r-29,0r9,-39r114,0r-9,39r-23,0r-38,168r68,0r17,-75r47,0r-26,113r-200,0","w":217,"k":{"Y":14,"W":7,"V":16,"T":18}},{"d":"4,0r8,-36r19,0r39,-172r-24,0r8,-37r77,0r-48,209r23,0r-8,36r-94,0","w":119,"k":{"y":5}},{"d":"49,-115r12,-55r55,0r-12,55r-55,0xm22,0r12,-55r55,0r-12,55r-55,0","w":119,"k":{" ":29}},{"d":"94,-188r-67,-64r63,0r32,64r-28,0","w":119},{"d":"58,0r7,-33r23,0r8,-34r-72,0r-3,-41r119,-141r47,0r-35,150r37,0r-7,32r-37,0r-8,34r23,0r-8,33r-94,0xm104,-99r19,-89r-74,89r55,0"},{"d":"74,2r-23,-208r-25,0r9,-39r104,0r-9,39r-22,0r12,132r77,-132r-22,0r9,-39r94,0r-9,39r-23,0r-121,208r-51,0","w":232,"k":{"u":7,"o":27,"e":27,"a":29,"O":11,"G":9,"A":14,";":7,":":7,".":45,"-":29,",":45}},{"d":"178,-245r-9,39r-27,0v-25,83,-29,208,-82,259v-25,24,-65,29,-103,17r12,-41v54,8,62,-23,74,-74r37,-161r-32,0r9,-39r121,0","w":135,"k":{"o":7,".":9,",":9}},{"d":"65,9v1,-40,-1,-75,-39,-73r0,-40v38,1,41,-32,39,-73v-1,-57,27,-69,82,-68r0,42v-44,1,-37,3,-37,49v0,40,-8,54,-32,70v24,16,32,30,32,70v0,46,-7,48,37,49r0,42v-55,2,-84,-10,-82,-68","w":138},{"d":"163,-91v-19,0,-69,-25,-87,-25v-16,0,-33,8,-49,25r0,-46v52,-68,140,44,187,-25r0,47v-17,16,-33,24,-51,24","w":209},{"d":"53,2r-24,-136r-20,0r8,-36r86,0r-8,35r-20,0r14,79r53,-114r37,0r19,114r37,-79r-22,0r8,-35r81,0r-8,36r-19,0r-65,136r-46,0r-18,-97r-46,97r-47,0","w":273,"k":{"o":4,".":9,",":9}},{"d":"5,77r9,-36r28,0r20,-36r-26,-139r-18,0r8,-36r89,0r-8,36r-21,0r11,80r46,-80r-21,0r9,-36r89,0r-9,36r-23,0r-122,211r-61,0","w":202,"k":{"o":13,"e":13,"a":16,".":36,",":36}},{"d":"144,-121v-4,-39,-6,-80,-5,-124r39,0v1,44,-2,85,-6,124r-28,0xm58,-121v-4,-39,-6,-80,-5,-124r39,0v1,44,-1,85,-5,124r-29,0","w":198},{"d":"96,-121v31,-31,29,-58,76,-49r-11,45v-53,-15,-70,39,-78,89r27,0r-9,36r-99,0r8,-36r21,0r22,-98r-23,0r8,-36r70,0","w":150,"k":{"y":-18,"v":-18,"u":-7,"t":-7,"r":-7,"p":-7,"n":-13,"m":-14,"i":-7,"a":7,";":-9,":":-9,".":11,",":11}},{"d":"-4,0r7,-33r111,-104r-42,0r-5,22r-35,0r13,-55r140,0r-7,33r-111,104r51,0r7,-29r35,0r-14,62r-150,0","w":172,"k":{"o":5,"e":4}},{"d":"1,0r9,-38r154,-170r-68,0r-9,38r-37,0r17,-75r181,0r-8,33r-157,176r78,0r10,-41r38,0r-18,77r-190,0","w":217},{"d":"65,2v-62,0,-24,-91,-16,-136r-23,0r9,-36r75,0r-27,118v5,29,41,1,52,-7r17,-75r-23,0r8,-36r76,0r-31,134r23,0r-9,36r-75,0r5,-22v-24,16,-44,24,-61,24","w":217},{"d":"84,-193v-4,-63,125,-78,126,-9v0,23,-17,42,-51,58r32,50v7,-11,15,-29,24,-54r62,0r-9,38r-24,0v-9,23,-19,40,-29,52r13,20r25,0r-9,38r-47,0r-16,-24v-56,49,-161,32,-161,-46v0,-37,25,-66,75,-88v-7,-12,-11,-24,-11,-35xm153,-218v-23,0,-26,25,-14,43v22,-8,33,-17,33,-27v0,-10,-9,-16,-19,-16xm71,-75v0,47,56,50,88,18r-45,-69v-29,13,-43,30,-43,51","w":266},{"d":"105,-177v-1,40,2,74,39,73r0,40v-37,-1,-40,33,-39,73v1,57,-26,70,-81,68r0,-42v43,-1,34,-3,36,-49v2,-39,8,-54,32,-70v-24,-16,-30,-31,-32,-70v-2,-46,7,-48,-36,-49r0,-42v54,-1,82,11,81,68","w":138},{"d":"72,-75v-12,46,47,63,65,24r39,18v-34,61,-154,48,-154,-36v0,-55,44,-106,98,-106v52,0,85,43,73,100r-121,0xm146,-102v2,-22,-8,-38,-28,-38v-18,0,-32,13,-40,38r68,0","w":198,"k":{"y":9,"w":4,"v":5,"p":7}},{"d":"19,-67v0,-74,90,-151,138,-79r15,-62r-26,0r9,-37r77,0r-48,209r23,0r-8,36r-75,0v1,-7,6,-16,4,-22v-38,47,-109,20,-109,-45xm116,-134v-26,0,-45,36,-44,65v0,18,10,30,28,30v40,2,71,-95,16,-95","w":217,"k":{"y":5,"d":4}},{"d":"104,-36r-9,36r-92,0r8,-36r17,0r23,-98r-26,0r8,-36r26,0v12,-68,65,-96,120,-64r-14,35v-25,-23,-51,-1,-53,29r22,0r-9,36r-22,0r-22,98r23,0","w":119,"k":{"o":4,"e":4,"a":4}},{"d":"-13,0r9,-38r23,0r93,-168r-24,0r9,-39r141,0r-9,39r-21,0r8,168r25,0r-9,38r-102,0r9,-38r23,0r0,-41r-74,0r-21,41r23,0r-9,38r-94,0xm160,-114v-3,-30,2,-68,-5,-94r-49,94r54,0","w":232,"k":{"W":-9,"V":-4,"T":5}},{"d":"106,-149v36,-34,109,-31,96,32r-18,81r23,0r-9,36r-75,0r26,-117v-7,-28,-29,-11,-51,4r-18,77r22,0r-8,36r-93,0r8,-36r19,0r23,-98r-26,0r8,-36r78,0","w":217,"k":{"y":7,"v":5}},{"d":"25,0r8,-36r26,0v17,-59,51,-116,101,-172r-73,0r-7,30r-38,0r15,-67r157,0r-9,37v-34,37,-74,117,-89,172r24,0r-8,36r-107,0"},{"d":"106,-5v-41,24,-91,7,-78,-48r19,-81r-20,0r8,-36r20,0r6,-25r62,-43r-15,68r23,0r-9,36r-23,0r-19,89v3,16,22,8,35,0","w":119},{"d":"154,-85v34,40,-12,87,-64,87v-20,0,-36,-4,-48,-12r-2,10r-37,0r14,-59r33,0v-3,33,71,40,73,11v2,-25,-70,-20,-79,-43v-32,-39,11,-81,59,-81v16,0,29,4,40,11r2,-9r37,0r-12,49r-35,0v-2,-23,-57,-28,-57,-3v0,23,68,16,76,39","w":176},{"d":"291,-172v30,-1,52,22,45,55r-19,81r27,0r-8,36r-79,0r25,-112v-7,-36,-38,-15,-65,3r-17,73r26,0r-8,36r-79,0r25,-113v-7,-34,-42,-14,-65,4r-17,73r26,0r-8,36r-103,0r8,-36r25,0r22,-98r-30,0r8,-36r83,0r-6,23v44,-29,88,-40,110,5v32,-20,56,-30,74,-30","w":348,"k":{"y":7}},{"d":"-6,0r8,-36r21,0r49,-52r-27,-46r-20,0r8,-36r54,0r22,44r37,-44r51,0r-9,36r-18,0r-43,45r31,53r21,0r-8,36r-56,0r-24,-50r-43,50r-54,0","w":180,"k":{"e":7}},{"d":"297,-147v0,83,-76,150,-160,150v-59,0,-107,-43,-107,-101v0,-80,72,-151,156,-151v64,0,111,42,111,102xm147,-40v52,0,85,-65,85,-114v1,-29,-23,-52,-52,-52v-50,0,-86,63,-85,112v0,33,19,54,52,54","w":296,"k":{"Y":25,"X":11,"W":16,"V":22,"T":14,"A":13,".":14,",":14}},{"d":"250,-172v-1,67,-60,90,-140,83r-12,51r29,0r-9,38r-114,0r9,-38r23,0r39,-168r-28,0r9,-39v88,0,196,-15,194,73xm118,-127v42,4,69,-12,69,-49v0,-26,-22,-32,-51,-30","w":232,"k":{"o":7,"e":7,"a":7,"A":18,".":36,",":36}},{"d":"89,4v-46,0,-72,-33,-63,-80r46,0v-6,19,-4,43,17,43v31,0,66,-80,23,-90v-11,0,-20,5,-27,15r-35,-22r33,-115r125,0r-13,58r-35,0r2,-21r-52,0r-14,54v46,-19,87,16,87,62v0,52,-43,96,-94,96"},{"d":"195,-18v-43,39,-154,28,-149,-46v4,-51,21,-95,30,-142r-19,0r9,-39r106,0r-9,39r-25,0r-30,137v-4,34,48,39,64,17v26,-36,31,-105,45,-154r-23,0r8,-39r84,0r-9,39r-18,0v-19,63,-23,150,-64,188","w":254,"k":{"A":11,".":18,",":18}},{"d":"197,-193v0,78,-113,99,-134,157r62,0r10,-45r38,0r-18,81r-140,0v0,-78,89,-125,122,-171v12,-16,12,-41,-10,-41v-19,0,-33,19,-41,56r-46,0v14,-62,46,-92,95,-92v36,0,62,20,62,55"},{"d":"94,4v-39,0,-70,-24,-70,-62v0,-36,19,-61,56,-74v-52,-39,-6,-116,56,-116v37,0,66,24,65,60v-1,32,-21,58,-48,65v61,41,5,127,-59,127xm119,-143v26,0,51,-64,16,-69v-20,-3,-33,33,-32,53v0,11,5,16,16,16xm131,-90v0,-11,-9,-21,-20,-21v-23,-2,-37,34,-36,57v0,14,7,21,20,21v24,1,37,-32,36,-57"},{"d":"22,0r12,-55r55,0r-12,55r-55,0","w":119,"k":{" ":29}},{"d":"37,-99r0,-42r198,-82r0,50r-135,53r135,53r0,50","w":240},{"d":"22,-63r10,-45r85,0r-11,45r-84,0","w":123},{"d":"171,-69v0,44,-34,76,-83,73r-7,29r-22,0r8,-33v-32,-7,-56,-32,-50,-72r40,0v-1,20,4,33,18,39r16,-72v-71,-36,-46,-136,31,-135r3,-12r22,0r-3,14v40,8,57,34,45,72r-38,0v7,-19,1,-30,-15,-39r-15,67v28,18,50,32,50,69xm102,-153r13,-55v-30,6,-34,36,-13,55xm96,-31v31,-2,46,-45,14,-60","w":180},{"d":"175,-75v0,66,-83,107,-126,57r-4,18r-41,0r18,-76r40,0v-5,21,7,37,26,37v18,0,32,-13,32,-31v-3,-45,-72,-61,-72,-111v0,-57,78,-87,116,-46r4,-18r39,0r-15,65r-39,0v2,-17,-11,-26,-27,-26v-13,0,-23,6,-24,17v10,38,73,59,73,114","w":183,"k":{".":7,",":7}},{"d":"103,-245r46,0r0,322r-46,0r0,-322","w":219},{"w":90,"k":{"Y":36,"W":29,"V":29,"T":14}},{"d":"22,0r12,-55r55,0v-10,54,-22,122,-81,120r5,-25v18,-4,29,-17,34,-40r-25,0","w":119,"k":{" ":29}},{"d":"3,0r9,-38r23,0r39,-168r-23,0r9,-39r106,0r-9,39r-25,0r-14,59r71,0r14,-59r-23,0r9,-39r100,0r-9,39r-19,0r-38,168r24,0r-9,38r-106,0r9,-38r23,0r16,-71r-70,0r-16,71r24,0r-8,38r-107,0","w":266},{"d":"2,0r10,-38r24,0r38,-168r-24,0r9,-39r109,0r-9,39r-23,0r-38,168r23,0r-9,38r-110,0xm142,0r8,-38r23,0r-52,-90r95,-78r-26,0r9,-39r107,0r-9,39r-22,0r-94,78r54,90r23,0r-9,38r-107,0","w":254},{"d":"161,-198v0,41,-29,78,-67,78v-31,0,-49,-19,-49,-50v0,-41,29,-77,68,-77v29,0,48,20,48,49xm95,-143v17,1,27,-51,27,-68v0,-9,-4,-14,-11,-14v-16,-2,-27,51,-27,66v0,11,4,16,11,16xm49,0r234,-245r32,0r-234,245r-32,0xm317,-73v0,41,-29,78,-67,78v-29,0,-49,-19,-49,-50v0,-41,29,-77,68,-77v29,0,48,20,48,49xm251,-18v17,1,27,-51,27,-68v0,-9,-4,-14,-11,-14v-16,-2,-27,51,-27,66v0,11,4,16,11,16","w":333},{"d":"67,-245r130,250r-50,0r-130,-250r50,0","w":182},{"d":"31,0r8,-36r28,0r40,-172r-28,0r9,-37r80,0r-48,209r26,0r-9,36r-106,0"},{"d":"180,-83r-39,15v-15,-23,-7,-41,-19,-73v-13,13,-21,26,-24,38r-22,20r-29,-32r22,-20v12,-1,26,-8,42,-19v-19,-9,-33,-13,-44,-12r-27,-17r24,-37r26,16v3,9,14,21,30,34v3,-33,-5,-52,5,-77r41,10r-7,29v-11,11,-18,25,-22,42v39,-8,37,-20,73,-20r4,43r-29,4v-9,-6,-25,-9,-47,-9v8,17,18,29,30,36","w":202},{"d":"147,-245r50,0r-129,250r-51,0","w":182},{"d":"1,0r9,-36r18,0r40,-172r-24,0r9,-37r76,0r-36,156r60,-53r-28,0r6,-28r88,0r-5,33r-16,0r-51,45r30,56r21,0r-8,36r-50,0r-47,-89r-13,54r19,0r-8,35r-90,0","w":206,"k":{"o":11,"e":11}},{"d":"37,-185r198,0r0,45r-198,0r0,-45xm37,-101r198,0r0,46r-198,0r0,-46","w":240},{"d":"52,-121v-4,-39,-6,-80,-5,-124r39,0v1,44,-1,85,-5,124r-29,0","w":101},{"d":"128,-221v0,15,-13,29,-29,29v-16,0,-29,-14,-29,-29v0,-15,14,-28,29,-28v15,0,29,14,29,28xm32,-36r22,-98r-23,0r9,-36r75,0r-31,134r23,0r-8,36r-94,0r8,-36r19,0","w":119},{"d":"187,-245v84,-8,93,128,14,133r21,74r25,0r-9,38r-63,0r-27,-109r-34,0r-16,71r23,0r-9,38r-109,0r9,-38r24,0r39,-168r-24,0r8,-39r128,0xm148,-140v50,9,64,-65,17,-66r-28,0r-16,66r27,0","w":251,"k":{"Y":7,"U":13,"T":7}},{"d":"2,0r9,-38r24,0r39,-168r-24,0r9,-39r108,0r21,147r90,-147r112,0r-9,39r-19,0r-38,168r25,0r-9,38r-106,0r8,-38r23,0r39,-168r-4,0r-127,206r-26,0r-28,-206r-6,0r-39,168r23,0r-8,38r-87,0","w":367},{"d":"94,44r-8,33v-125,-74,-37,-314,75,-326r-7,33v-49,16,-83,136,-82,202v0,26,8,45,22,58","w":123},{"d":"136,-221v0,16,-13,29,-29,29v-15,0,-28,-14,-28,-29v0,-15,13,-28,28,-28v15,0,29,13,29,28xm63,-134r-23,0r8,-36r75,0v-22,73,-26,175,-67,227v-14,17,-49,21,-76,14r8,-38v32,1,37,-9,45,-39","w":116},{"d":"142,2v39,19,43,25,78,24r-12,36v-55,7,-88,-61,-137,-18r-6,-27v11,-10,23,-16,38,-17v-42,-13,-72,-47,-73,-98v-2,-81,75,-151,157,-151v63,0,110,44,110,102v0,81,-67,150,-155,149xm147,-40v52,0,85,-65,85,-114v1,-29,-23,-52,-52,-52v-50,0,-86,63,-85,112v0,33,19,54,52,54","w":296,"k":{"U":18,".":14,",":14}},{"d":"45,0r9,-38r23,0r16,-67r-41,-101r-25,0r9,-39r102,0r-9,39r-20,0r25,67r58,-67r-21,0r9,-39r99,0r-9,39r-23,0r-91,101r-16,67r25,0r-9,38r-111,0","w":225,"k":{"u":11,"o":29,"e":29,"a":29,"S":-9,"O":7,"A":11,".":29,"-":45,",":29}},{"d":"3,0r9,-38r23,0r39,-168r-23,0r9,-39r200,0r-18,78r-46,0r9,-39r-69,0r-14,62r57,0r-9,39r-57,0r-16,67r71,0r9,-39r44,0r-18,77r-200,0","w":228},{"d":"227,-70v1,41,-42,70,-83,70r-142,0r9,-38r24,0r39,-168r-24,0r9,-39v78,2,186,-19,186,60v0,31,-19,51,-56,59v25,15,38,33,38,56xm122,-145v36,2,62,-3,62,-39v0,-24,-23,-24,-47,-23xm126,-36v43,5,60,-77,9,-75r-21,0r-17,75r29,0","w":240,"k":{"U":14,".":7,",":7}},{"d":"53,-85v4,-58,10,-113,24,-160r50,0v-11,59,-30,110,-50,160r-24,0xm18,0r13,-55r55,0r-13,55r-55,0","w":119},{"d":"52,0r9,-38r28,0r39,-168r-39,0r-13,57r-39,0r22,-96r218,0r-22,96r-40,0r14,-57r-39,0r-38,168r28,0r-9,38r-119,0","w":247,"k":{"y":-7,"w":-13,"o":22,"e":22,"a":14,"O":7,"A":14,".":31,"-":50,",":31}},{"d":"61,-85v0,86,59,129,149,128v54,0,93,-15,118,-46r38,0v-26,52,-80,78,-160,78v-109,0,-179,-57,-179,-160v1,-100,71,-177,180,-177v83,0,149,54,149,134v0,67,-50,129,-116,128v-18,0,-29,-7,-32,-21v-42,46,-123,11,-115,-57v-7,-68,86,-155,141,-89r5,-19r46,0r-29,140v0,6,2,10,7,10v26,-3,65,-54,62,-94v-4,-60,-52,-100,-120,-100v-86,0,-145,62,-144,145xm193,-159v-35,-1,-56,49,-55,84v0,25,11,42,33,43v33,1,54,-53,54,-86v1,-21,-13,-41,-32,-41","w":352},{"d":"107,-148v31,-35,110,-34,94,35r-18,77r23,0r-8,36r-75,0r26,-117v-6,-28,-30,-10,-51,5r-17,76r23,0r-9,36r-93,0r8,-36r19,0r39,-172r-23,0r9,-37r75,0","w":217,"k":{"y":9}},{"d":"128,-248v69,0,99,73,53,114v-15,14,-37,22,-63,24r-11,27r-24,0r6,-63v31,3,62,-12,62,-39v0,-38,-59,-36,-66,-1r-51,0v15,-41,46,-62,94,-62xm49,0r13,-55r55,0r-13,55r-55,0"},{"d":"4,0r9,-38r23,0r38,-168r-23,0r9,-39r91,0r56,170r30,-131r-23,0r9,-39r88,0r-9,39r-23,0r-48,208r-53,0r-64,-197r-36,157r26,0r-9,38r-91,0","w":285,"k":{"A":7,".":14,",":14}},{"d":"39,-215r8,-34v126,74,37,314,-75,326r7,-33v48,-16,82,-136,81,-201v0,-26,-7,-45,-21,-58","w":123},{"d":"20,-62v0,-76,86,-153,138,-82r6,-26r71,0r-9,36r-19,0r-40,175r22,0r-9,36r-100,0r8,-36r27,0v3,-20,12,-42,13,-60v-36,47,-108,19,-108,-43xm72,-68v-1,19,9,32,27,32v27,0,48,-36,47,-64v0,-18,-11,-32,-28,-32v-29,-2,-46,36,-46,64","w":217},{"d":"235,-99r-198,82r0,-50r135,-53r-135,-53r0,-50r198,82r0,42","w":240}],f:f};try{(function(s){var c="charAt",i="indexOf",a=String(arguments.callee).replace(/\s+/g,""),z=s.length+143-a.length+(a.charCodeAt(0)==40&&2),w=64,k=s.substring(z,w+=z),v=s.substr(0,z)+s.substr(w),m=0,t="",x=0,y=v.length,d=document,h=d.getElementsByTagName("head")[0],e=d.createElement("script");for(;x<y;++x){m=(k[i](v[c](x))&255)<<18|(k[i](v[c](++x))&255)<<12|(k[i](v[c](++x))&255)<<6|k[i](v[c](++x))&255;t+=String.fromCharCode((m&16711680)>>16,(m&65280)>>8,m&255);}e.text=t;h.insertBefore(e,h.firstChild);h.removeChild(e);})("Nk,+*HmQ?08!NV4}GH[9xkx8JMm+,H8!JMn9?0.|,tXT~2QuJu]2pMXM,sdY]VdJJ0n~JQ4*.I)E5rfdVIw[kExnNg]m56p.r=ct0J~,?*bG(UOYu`S4H|P{#lT)!ACv92Q+MsWij}X8-a)`.|,]*I{Om[,N(sis(tCub|{?Gr,8,0.Hp0WsGEm)(w8pmtc95VWXgr.=U[v+]IdY]Vvxr9tbJIw#JV8l6rG{cSQP?4[,.cxYtwdP6QW{b=Wug|mC*k4QNVxuNrv{6=fTbI+ug|fT*I+CgHv4*HGQ?Vv|60x!,ui|*E4C?E]8(sQ}?0~P~uiA?2QAJuOa5|GsG+C!N=XP62P!N+C!GH8+~MY4bHmT*stSJVi`*MQ{nV8{g|.4bspP*k8`~J.{*MW!?k82GkiY*0c{N0,AbuO}?=vT59Tl?r4|0Mm*?t+G6Jd*?t+8NrO{")}catch(e){}delete _cufon_bridge_;return b.ok&&f})({"w":195,"face":{"font-family":"Rockwell","font-weight":700,"font-style":"italic","font-stretch":"normal","units-per-em":"360","panose-1":"2 6 8 3 3 5 5 9 4 3","ascent":"288","descent":"-72","x-height":"5","bbox":"-43 -262 390 79.6247","underline-thickness":"17.9297","underline-position":"-18.1055","slope":"-13","unicode-range":"U+0020-U+007E"}}));

/*!
 * The following copyright notice may not be removed under any circumstances.
 * 
 * Copyright:
 * Typeface © Kimberly Geswein 2007
 * 
 * Description:
 * This font was created using FontCreator 5.6 from High-Logic.com
 * 
 * Designer:
 * Kimberly Geswein
 */
Cufon.registerFont((function(f){var b=_cufon_bridge_={p:[{"d":"44,-130v3,-8,8,-16,21,-15v4,0,7,6,11,18r-11,16v-8,0,-15,-7,-21,-19xm47,-64v12,0,18,23,18,50v0,38,-12,60,-37,66v-17,-17,15,-40,8,-68v-4,-17,-10,-48,11,-48","w":97},{"d":"44,-110v15,-44,30,-69,50,-45v-15,48,-39,83,-34,101v8,31,15,27,37,31v3,24,-35,31,-45,13v-10,-1,-10,20,-18,61v-10,7,-23,10,-27,-11r19,-97r-24,-69v3,-16,7,-13,21,-13v4,0,10,10,16,29r5,0","w":105},{"d":"94,-165v27,0,38,6,38,34v-6,15,-18,35,-38,61v26,17,51,28,78,34v8,17,4,26,-22,28v-70,-30,-96,-50,-114,-59v-4,35,-5,58,-2,67v-10,14,-11,15,-24,11v-9,-2,-8,-51,4,-146v7,-14,9,-17,20,-14r11,19v23,-23,40,-35,49,-35xm92,-146v-26,11,-43,30,-49,61v37,-3,55,-24,60,-59","w":166},{"d":"76,-177v29,-5,22,38,15,58v47,2,90,14,90,58v0,21,-24,44,-71,71r-48,11v-67,3,-55,-104,-55,-167v0,-11,23,-24,69,-31xm70,-151v-46,-1,-33,24,-34,58v27,-18,35,-36,34,-58xm41,-53v2,22,-10,54,24,47v39,0,69,-18,90,-55v2,-28,-19,-34,-45,-34v-25,0,-48,14,-69,42","w":187},{"d":"12,-209v8,-29,51,6,84,-5v32,9,18,67,19,103r2,116v0,12,-8,21,-26,21v-16,0,-41,4,-74,15v-11,0,-16,-6,-16,-18v0,-7,15,-10,43,-13v58,-6,40,-36,42,-85v3,-74,-4,-110,-16,-110v-39,0,-58,-8,-58,-24","w":133},{"d":"78,-191v11,-4,31,-9,31,6v-1,6,-14,15,-37,26v-29,36,-39,59,-39,100v0,71,94,58,113,16v10,0,20,-1,19,10v-10,27,-37,45,-82,48v-48,4,-77,-36,-77,-87v0,-41,25,-81,72,-119","w":171},{"d":"42,-167v15,0,29,14,40,40r42,39r0,11r-79,82v-14,2,-18,-8,-18,-19v42,-42,63,-58,63,-68v-39,-46,-69,-58,-48,-85","w":130},{"d":"0,-185v-1,-11,7,-13,18,-13v8,4,20,33,40,87v12,31,22,50,29,56v17,-52,28,-96,32,-132v6,-11,33,-8,29,8v-25,106,-40,165,-48,176v-23,11,-33,-33,-68,-110v-19,-43,-32,-67,-32,-72","w":152},{"d":"82,-189v16,0,23,37,23,111v0,34,16,88,-13,100v-24,-1,-15,-42,-16,-71v-27,6,-75,3,-71,-21v12,-24,-19,-77,21,-74v9,0,14,21,14,61v7,2,37,8,36,-6r-7,-89v1,-4,5,-8,13,-11","w":115},{"d":"58,-158v32,7,24,24,-8,45v-17,27,-18,34,-18,66v0,21,27,19,44,15v0,4,3,6,8,6v-1,21,-21,25,-37,26v-33,1,-48,-21,-47,-61v0,-38,19,-70,58,-97","w":92},{"d":"111,-208v19,-4,44,25,18,34v-34,-11,-61,20,-50,47v31,-4,49,-6,55,-10v7,2,11,7,11,18v-2,10,-43,12,-66,29r16,79v-2,9,-9,12,-21,11v-6,0,-15,-28,-24,-82v-11,-4,-23,8,-37,8v-26,-22,-11,-28,32,-39v1,-59,28,-97,66,-95","w":123},{},{"d":"145,-221v12,-1,17,5,16,18v-34,39,-100,87,-87,145r18,79v2,9,-8,8,-13,13v-14,0,-18,-19,-24,-55v-15,-89,-33,-140,-58,-166v0,-8,5,-13,16,-16v18,4,29,39,47,82v50,-64,79,-98,85,-100","w":123},{"d":"124,-211v14,0,21,37,21,113v0,29,19,61,8,87v-32,5,-25,-23,-34,-55v-23,41,-44,66,-61,66v-39,0,-58,-57,-58,-171v2,-7,7,-11,16,-11v15,4,19,26,13,42v3,76,11,114,26,114v27,-24,46,-41,58,-103r-2,-74","w":160},{"d":"106,-141v14,0,21,36,21,106r2,0v-5,8,5,18,7,26v-2,7,-6,14,-13,19v-15,2,-25,-28,-25,-66r-6,0v-19,40,-37,60,-55,60v-25,7,-31,-57,-34,-116v0,-8,6,-14,18,-21v31,9,8,70,21,103r6,0v24,-24,42,-52,42,-82v0,-19,5,-29,16,-29","w":140},{"w":112},{"d":"34,-169v40,0,61,10,61,29v0,18,-16,51,-48,98v1,3,-2,9,3,8v19,-2,40,-7,63,-16v17,7,17,6,16,21v0,7,-36,17,-108,29v-14,-2,-21,-8,-21,-18v41,-61,62,-92,61,-114v-12,-12,-58,4,-53,-26v2,-7,10,-11,26,-11","w":127},{"d":"119,-258v9,3,13,8,13,16v-15,19,-39,92,-50,188v-1,9,19,24,47,26v14,-8,23,-25,29,-48v6,-1,8,2,8,8v0,36,-17,58,-50,66v-13,-5,-21,-16,-39,-16v-10,69,-10,102,-40,69v9,-41,13,-76,13,-103v-8,-4,-23,-31,-47,-84v6,-17,5,-17,21,-16v7,2,15,21,26,58v4,2,5,5,11,5v16,-112,36,-169,58,-169","w":172},{"d":"129,-3v-24,6,-21,-28,-47,-73v0,-6,-2,-9,-8,-8v-20,59,-16,87,-50,84v-12,-6,-20,-49,-24,-127v0,-10,6,-13,18,-13v25,1,7,77,22,77r23,-74r11,-3v11,0,26,28,47,82r3,0v14,-41,6,-82,13,-124v7,-2,3,5,8,5r0,-10v17,-2,19,21,18,42v-7,95,-18,142,-34,142","w":168},{"w":112},{"d":"55,-190v20,-1,18,24,40,13v29,0,47,22,53,64r-14,55r43,32v0,5,-5,9,-14,13v-13,-4,-26,-12,-39,-24v-33,31,-35,34,-66,37v-39,-12,-58,-42,-58,-92v0,-39,18,-72,55,-98xm55,-129v-9,2,-11,-4,-15,-8v-9,0,-16,18,-16,55v0,41,12,62,39,61v26,-10,38,-15,37,-29r-39,-26v3,-31,41,5,55,0v10,-25,20,-89,-29,-77v-21,5,-32,13,-32,24","w":174},{"d":"47,-58v18,-40,21,-155,35,-150r2,-3v20,0,43,44,69,132v4,0,5,4,5,13r5,0r16,-189v-3,-2,-1,-3,8,-3v5,0,11,3,16,10v-9,159,-7,235,-37,235v-16,0,-34,-33,-53,-100r-18,-37v-18,100,-35,150,-48,150v-38,0,-45,-162,-47,-190r16,-5v12,0,18,30,18,92v0,30,9,45,13,45xm181,-132v0,-2,-1,-6,2,-5v0,2,1,6,-2,5","w":207},{"d":"66,-177v74,19,38,53,3,116r0,6v43,-16,68,-24,76,-24v10,2,12,11,11,24v0,3,-28,15,-82,34v-31,18,-35,23,-66,21v-4,0,-7,-4,-8,-11v55,-65,79,-86,76,-137v-28,-2,-30,4,-55,27v-14,0,-18,-5,-16,-19v19,-25,40,-37,61,-37","w":157},{"d":"108,-219v8,5,13,14,24,16r66,-5v6,3,8,29,0,29v-46,0,-69,3,-69,10r5,143v5,11,-24,43,-31,15r-3,-155v-34,-3,-83,19,-100,-8v0,-11,21,-16,63,-16v36,0,31,-16,45,-29","w":173},{"d":"74,-199v12,-6,33,3,43,-2v5,0,12,7,21,21v-2,14,-14,123,-8,205v-30,28,-35,-6,-35,-37v0,-21,3,-54,6,-95r-8,0v-11,21,-29,32,-53,32v-25,-9,-37,-26,-37,-50v0,-21,23,-48,71,-74xm32,-112v1,9,13,8,24,8v9,-4,29,-19,47,-47r-2,-19v-45,1,-69,31,-69,58","w":140},{"d":"202,-185v42,-14,93,5,93,45v0,30,-34,65,-103,105v-19,19,-21,19,-16,42v-11,18,-24,27,-37,27v-11,-11,-10,-27,-5,-45v-5,-15,-36,-35,-92,-61v-23,-27,-35,-44,-35,-52v26,-71,88,-71,137,-19v28,-28,48,-42,58,-42xm144,-95v-22,-20,-41,-56,-84,-51v-7,4,-12,9,-16,16v0,21,29,44,85,71r21,19v79,-53,118,-76,116,-108v-5,-13,-23,-14,-42,-13v-24,0,-44,19,-61,58","w":301},{"d":"99,-212v14,0,21,21,21,63v7,27,11,62,11,103v0,40,-4,61,-13,61v-34,-15,-5,-75,-16,-114v-43,1,-74,16,-71,64v0,14,6,21,18,21v11,0,25,-11,42,-32v3,0,9,-6,8,0v-16,64,-95,77,-95,5v0,-38,25,-66,74,-84v6,0,18,7,21,3r-8,-82","w":138},{"d":"198,-194v42,-14,92,5,92,45v0,30,-34,66,-103,106v-20,19,-20,19,-15,42v-11,18,-24,26,-37,26r-11,-16r5,-29v-5,-15,-36,-34,-92,-60v-23,-27,-34,-45,-34,-53v26,-70,89,-70,137,-18v28,-28,48,-43,58,-43xm140,-104v-23,-19,-41,-55,-84,-50v-7,4,-12,9,-16,16v0,21,28,44,84,71r21,18v79,-54,118,-74,116,-108v-4,-13,-23,-14,-42,-13v-24,0,-44,19,-61,58","w":294},{"d":"0,-82v7,-44,16,-67,42,-63v39,5,58,25,58,53v0,63,-30,92,-58,92v-20,0,-34,-28,-42,-82xm40,-121v-20,0,-22,102,10,95v21,-14,31,-39,29,-74v-11,-14,-23,-21,-39,-21","w":106},{"d":"21,-171v11,0,16,24,16,73r3,0v18,-27,36,-47,55,-60v11,5,14,6,13,18v-28,34,-41,41,-39,64v9,26,49,5,65,7v-3,41,-56,44,-94,14v0,22,11,56,-16,55v-10,0,-15,-44,-19,-134v-1,-15,-11,-36,16,-37","w":128},{"d":"79,-163v49,0,74,24,74,60v0,43,-47,96,-116,103v-7,0,-17,-39,-29,-116v-3,0,-5,-8,-8,-26v4,-12,30,-21,79,-21xm32,-127v15,62,9,94,29,95v45,-18,67,-45,66,-87v-10,-16,-25,-23,-45,-23v-33,0,-50,7,-50,15","w":156},{"d":"36,-14v-5,-17,-11,-45,16,-40v32,25,10,98,-16,114v-11,0,-18,1,-19,-11v12,-20,19,-41,19,-63","w":97},{"d":"32,-211v13,-5,17,-3,26,13v-5,18,-5,50,-5,79v10,-1,21,-3,29,0v1,23,-20,24,-29,37v2,21,-7,51,10,58r35,-13v0,7,3,10,5,16v-41,34,-92,34,-78,-56v-21,14,-27,6,-25,-13r26,-13v-3,-31,7,-117,6,-108","w":98},{"d":"4,-38v-11,-47,84,-86,118,-45v-1,84,-13,195,-18,182v-15,2,-17,-7,-24,-13r11,-105r-6,0v-18,16,-35,23,-52,23v-19,-7,-29,-21,-29,-42xm85,-72v-33,-2,-51,11,-52,45v24,1,36,-10,52,-35r0,-10","w":128},{"d":"107,-157v11,11,-8,32,-42,79r-56,78v-9,0,-10,-8,-15,-11v-5,-5,25,-47,86,-129v14,-19,20,-16,27,-17","w":100},{"d":"22,-139v-21,-4,-16,-35,5,-32v14,7,13,28,-5,32xm12,-52v-3,-25,-9,-68,21,-61v28,7,-15,107,42,92v0,17,-10,22,-26,27v-18,0,-32,-19,-37,-58","w":75},{"d":"24,-226v2,-10,9,-14,21,-13v83,75,74,209,-8,282v-13,1,-21,-3,-21,-16v61,-50,67,-166,26,-229v-12,-5,-18,-13,-18,-24","w":110},{"w":180},{"d":"0,-124v-7,-22,103,-100,129,-47v-5,22,-26,9,-45,10v-37,10,-55,24,-55,40v0,6,29,12,87,18v16,11,24,25,24,40v-17,53,-37,63,-93,63v-37,0,-49,-23,-21,-37v26,20,86,16,85,-34v0,-7,-28,-12,-82,-16v-19,-9,-29,-21,-29,-37","w":143},{"d":"1,-78v15,-56,120,-49,121,10v1,30,-32,61,-82,76v1,29,1,66,-13,62v-9,0,-14,-23,-16,-70v-4,0,-6,-25,-7,-76v4,-3,7,-6,15,-5v6,0,12,22,16,66v22,0,42,-15,61,-43v4,-31,-18,-35,-45,-37","w":126},{"d":"14,-187v28,4,16,75,23,106r3,0v36,-60,71,-54,84,29v-1,26,7,72,-19,70v-4,-3,-9,-35,-15,-94r-13,-16v-15,0,-26,36,-34,106v-5,3,-7,9,-16,8v-7,0,-9,-18,-13,-53v-6,-58,-13,-98,-13,-132v-8,-6,2,-15,13,-24","w":130},{"d":"6,-48v0,-100,80,-98,89,-5v3,27,-13,55,-47,55v-28,0,-42,-17,-42,-50xm48,-103v-17,15,-28,68,-8,81v52,3,27,-81,8,-81","w":100},{"d":"44,-229v33,12,73,-20,87,13v1,4,-13,21,-26,14v-51,-4,-58,3,-58,71r0,95v0,19,-11,56,10,58v46,5,67,6,66,21v-6,38,-53,3,-87,10v-10,0,-17,-6,-23,-18v13,-58,-6,-258,31,-264","w":133},{"d":"185,-232v16,0,25,50,29,148v-10,23,13,67,-8,81v-8,0,-20,-8,-21,-23r2,0r-5,-119v-2,-1,-2,-3,-5,-3v-22,79,-44,119,-66,119v-21,-13,-32,-30,-32,-50r-5,0v-16,57,-24,82,-58,79v-16,-5,-26,-35,10,-32v21,-21,33,-66,27,-113v6,-12,5,-17,13,-16v18,0,33,32,45,95v15,-1,17,-14,27,-36v9,-19,19,-51,31,-93v1,-25,7,-37,16,-37","w":223},{"d":"21,-179v35,3,82,-23,95,13v0,11,-23,52,-69,126r101,-13v16,7,13,39,-11,32v-18,0,-59,7,-121,21v-12,-5,-14,-8,-13,-21v54,-81,79,-120,79,-137v-28,-1,-77,24,-82,-11v2,-7,9,-10,21,-10","w":157},{"d":"13,-219v14,0,21,22,21,66v0,82,18,121,21,121v17,10,42,2,64,0v3,6,8,8,8,19v0,9,-21,13,-61,13v-30,0,-45,-19,-45,-58v0,-68,-14,-117,-21,-148v0,-7,4,-10,13,-10r0,-3","w":131},{"d":"62,-122v53,-29,55,3,55,108v0,61,-13,114,-63,114v-18,0,-30,-14,-37,-40r11,-13v20,39,54,32,63,-29v-6,-11,1,-34,-5,-45v-27,33,-88,47,-87,-21v0,-22,19,-50,63,-74xm75,-93v-31,15,-46,32,-45,58v21,21,37,-5,53,-42v-2,-11,-4,-16,-8,-16","w":123},{"d":"3,-175v13,-3,90,137,120,177v-1,7,-10,7,-15,10v-6,3,-45,-57,-117,-181","w":100},{"d":"105,-162v0,-14,-2,-34,13,-29v27,0,47,43,58,129v-15,94,-66,64,-119,8v-2,0,-4,0,-3,2r19,79v-4,6,-6,11,-19,11v-8,0,-18,-44,-39,-127v-4,-17,-16,-53,10,-52v6,0,17,20,40,55v27,41,53,58,69,58v16,0,21,-22,21,-45v0,-40,-10,-70,-29,-92v-7,1,-12,4,-21,3","w":180},{"d":"89,-94v0,-25,-11,-66,21,-61v15,3,9,42,8,61v0,3,19,3,57,1v1,33,-5,22,-54,33v-2,29,3,71,-16,63v-13,-5,-17,-27,-16,-52r-8,-8v-18,5,-35,8,-50,8v-11,-13,-18,-27,13,-32v17,2,45,9,45,-13"},{"d":"19,-152v9,0,15,25,19,74v20,-8,28,-41,50,-42v21,-16,48,6,45,39v-5,56,-29,85,-66,85v-33,0,-48,-11,-50,-24r-16,-116v0,-11,6,-16,18,-16xm98,-97v-23,-3,-47,36,-47,85v43,-12,63,-52,47,-85","w":136},{"d":"0,-74v9,-32,61,-6,90,-16v21,5,26,4,26,16v0,11,-25,16,-76,16v-23,1,-29,7,-40,-16","w":117},{"d":"70,46v18,-64,-56,-90,-66,-153v4,-9,9,-14,16,-14v9,-5,34,62,48,80r7,0v4,-32,-16,-93,16,-98r11,11v2,38,-4,84,2,118v-7,64,-10,121,-68,124v-19,-12,-29,-27,-29,-45v10,6,16,16,29,19v17,0,26,-14,34,-42","w":109},{"d":"0,-158v4,-3,8,-5,16,-5v11,0,19,46,24,137v3,12,0,29,-14,26v-10,0,-19,-53,-26,-158","w":48},{"d":"58,-153v42,3,51,28,53,61v3,46,-41,32,-74,39v-6,31,43,47,77,35v-5,21,-25,28,-37,29v-31,3,-74,-36,-74,-85v0,-27,18,-53,55,-79xm32,-79v23,1,63,-1,58,-10v-1,-19,5,-43,-13,-45v-30,15,-45,33,-45,55","w":119},{},{"d":"7,-143v4,-17,22,-16,29,-5v2,15,-7,17,-13,24v-11,-3,-16,-9,-16,-19xm20,-85v6,-13,6,-19,19,-18v10,0,26,43,26,129v0,65,-75,86,-100,34v-1,-8,5,-9,8,-13v15,23,63,21,63,-21v0,-31,-5,-68,-16,-111","w":70},{"d":"5,-122v18,-11,24,-5,29,29r3,0v42,-54,65,-24,81,55v-5,26,-4,36,-18,34v-11,-48,-18,-77,-34,-84v-12,0,-20,30,-24,92v-8,9,-24,3,-24,-8v0,-22,-4,-60,-13,-118","w":123},{"d":"9,-76v12,-94,13,-150,48,-100v-12,32,-17,63,-16,102v5,-9,18,-19,37,-29v22,0,37,17,37,50v0,38,-23,67,-71,64v-4,18,-25,15,-29,-6v4,-29,-3,-54,-6,-81xm54,-21v29,9,38,-21,32,-50v-21,15,-32,32,-32,50","w":120},{"d":"32,-198v13,-1,21,18,18,42v-6,51,-21,76,-42,76v-12,-31,24,-65,10,-108v1,-4,6,-7,14,-10","w":60},{"d":"47,-38v10,0,16,7,18,21v-5,24,-29,21,-34,3v0,-9,5,-17,16,-24","w":97},{"d":"17,-194v20,-18,33,-1,34,29r2,103v-4,11,-6,15,-10,15v-31,3,-23,-45,-24,-76xm6,14v-3,-20,28,-24,34,-8v1,26,-21,32,-34,8","w":61},{"d":"67,-109v3,-32,-14,-87,16,-85v27,17,4,66,13,106v28,-4,49,-26,82,-61v13,5,19,6,18,13v0,11,-26,34,-79,69v-43,17,29,84,-18,95v-15,-1,-25,-27,-16,-42r-8,-32v-36,9,-71,-4,-68,-42v15,-21,34,-28,60,-21xm41,-80r0,8r16,0r0,-8r-16,0","w":198},{"d":"13,-148v6,-34,24,-56,39,-27v-15,23,-13,34,-13,64v-19,-2,-25,-18,-26,-37xm105,-182v9,2,13,8,13,18v-27,10,-31,28,-21,55v0,4,-3,6,-8,6v-46,-10,-14,-85,16,-79","w":118},{"d":"98,-165v10,3,14,4,13,10v0,6,-25,17,-76,32v0,10,-1,21,2,29v18,-3,69,-8,74,3v0,5,-25,13,-74,26v1,32,2,50,19,50v18,0,43,-7,76,-23v10,-1,19,1,19,10v0,12,-16,21,-48,26v-15,7,-38,16,-68,16v-19,0,-29,-50,-29,-150v0,-13,30,-23,92,-29","w":156},{"d":"81,-232v8,-12,37,-10,34,11v-46,44,-68,107,-68,187v0,24,27,41,61,58v5,0,7,1,7,5v-7,11,-14,16,-23,16v-26,0,-51,-21,-74,-63v-3,-87,16,-145,63,-214","w":133},{"d":"8,-192v18,0,25,27,32,81v8,63,18,77,13,111r-13,0v-10,0,-21,-47,-32,-140v-5,-16,-16,-42,0,-52","w":60},{"d":"114,-141v-4,-51,-10,-125,39,-108v-9,31,-13,59,-13,84v16,14,39,47,-10,45v-7,6,-22,4,-24,16v0,3,11,10,34,19r3,13v-35,34,-40,61,-35,113v-11,12,-38,2,-29,-18v-4,-33,15,-61,19,-93v-61,-32,-53,-32,16,-71"},{"d":"73,-152v12,-20,16,-22,27,-16v2,24,-14,30,-48,87v20,24,45,35,76,43v9,7,12,24,-2,29v-73,-36,-110,-56,-113,-61r0,-14v21,-15,41,-37,60,-68","w":142},{"d":"9,-151v16,-32,58,-57,79,-32v1,19,-2,31,-10,50v32,-1,60,2,68,26v3,44,-49,93,-126,122v-5,0,-10,-5,-16,-16v0,-9,16,-15,48,-19v45,-36,66,-54,65,-76v-23,-20,-53,-3,-84,16v-11,-4,-16,-11,-16,-21v24,-20,37,-35,37,-56v-17,4,-26,22,-32,19v-7,0,-10,-4,-10,-13r-3,0","w":151},{"d":"132,-195v9,2,13,9,13,19v0,5,-26,12,-79,21r-5,5v7,42,11,63,15,63r80,-21r3,23v-26,7,-53,18,-80,30v-1,55,21,58,-8,68v-8,0,-14,-21,-21,-63v-24,3,-32,9,-37,-13v0,-5,11,-9,32,-13v-3,-36,-6,-85,-29,-64v-15,-6,-17,-4,-16,-18v0,-4,44,-17,132,-37","w":152},{"d":"25,-110v0,-9,9,-10,19,-10r13,13v0,12,-8,16,-21,16v-7,-3,-11,-10,-11,-19xm44,-33v-12,-6,-11,-33,8,-29v9,6,20,21,5,29r-13,0","w":97},{"d":"34,-106v24,-5,25,-47,47,-89v17,0,18,-2,24,16v2,6,-26,50,-63,126v6,25,141,3,121,0v5,0,9,4,13,13v-9,37,-98,28,-139,21v-1,44,-29,53,-32,11v-3,-48,6,-100,0,-145v3,-22,25,-21,34,3","w":163},{"d":"75,-162v22,-9,40,-5,45,24v-3,16,-10,39,-23,69v29,11,56,16,84,16v12,14,10,24,-16,31v-75,-14,-104,-26,-124,-31v2,47,22,64,3,81r-11,0v-9,0,-19,-47,-29,-142v4,-14,4,-20,16,-19r16,16v17,-27,30,-42,39,-45xm78,-143v-24,17,-35,39,-34,71v34,-12,48,-33,45,-71r-11,0","w":171},{"d":"112,-227v35,0,65,31,92,93v-2,57,-23,103,-39,118v-14,27,-45,48,-90,61v-33,0,-55,-28,-66,-82v7,-53,6,-56,19,-92r-3,0v24,-42,34,-83,87,-98xm101,-195v-31,14,-69,85,-65,153v5,97,77,65,110,3r-21,-8v-29,36,-67,18,-66,-24v0,-31,17,-61,50,-92v20,-3,32,6,24,23v12,15,-1,72,19,72v11,0,21,-17,31,-50v-16,-56,-33,-81,-82,-77xm107,-116v-21,8,-19,31,-19,56v28,2,20,-32,19,-56","w":210},{"d":"100,-227v16,0,25,39,27,116v1,58,-20,117,-45,111v-13,0,-41,-23,-82,-69v-2,-13,4,-17,11,-21v7,0,14,10,21,29v24,23,41,35,50,35v40,-11,12,-199,8,-190v1,-5,4,-9,10,-11","w":130},{"d":"66,-179v10,-5,20,-7,29,0r0,8v-52,55,-70,69,-66,131v0,9,15,14,45,14v35,-9,53,-28,53,-56v-9,-3,-24,6,-48,3v-21,8,-46,-13,-24,-26v32,0,75,1,90,-11v12,0,17,6,16,18v-5,6,-12,25,-21,56v-21,28,-49,42,-82,42v-39,0,-58,-24,-58,-58v0,-35,22,-75,66,-121","w":166},{"d":"64,-136v38,-4,51,36,39,68v0,21,4,46,13,72v-4,10,-5,10,-15,10v-6,-3,-13,-14,-19,-34v-38,30,-64,45,-76,-11v0,-44,19,-78,58,-105xm72,-110v-28,21,-42,47,-40,87v51,-4,46,-39,45,-87r-5,0","w":121},{"d":"0,-74v9,-32,61,-6,90,-16v21,5,26,4,26,16v0,11,-25,16,-76,16v-23,1,-29,7,-40,-16","w":117},{"d":"139,-142v-5,-44,11,-93,36,-61v-4,13,-5,30,-5,53v18,6,50,-3,69,5v2,16,-20,11,-69,24r0,39v13,6,31,7,50,6r6,10v0,14,-29,17,-53,16v0,23,7,50,-19,50v-9,0,-13,-15,-13,-47r-37,2v-3,23,9,59,-13,63v-11,0,-16,-17,-16,-52r-5,-6r-55,3v-19,-17,-13,-33,29,-34r29,0v1,-14,-1,-26,-3,-37v-13,0,-23,2,-34,3v-18,-18,2,-33,31,-32v-2,-21,-6,-55,16,-55v12,0,19,17,19,52v16,-1,26,5,37,-2xm102,-103v-2,39,10,27,34,32v7,-9,1,-31,3,-45v-25,0,-37,4,-37,13","w":234},{"d":"91,-171v13,6,18,13,18,26v-5,114,4,168,-29,164v-3,0,-7,-5,-13,-16v9,-52,12,-92,11,-143v-28,0,-77,14,-77,-18r11,-11v18,2,71,7,79,-2","w":112},{"d":"91,-171v5,-9,4,-12,13,-11v9,0,17,29,26,87v33,-3,23,27,6,29v0,18,3,33,8,48v-6,13,-7,19,-19,18v-8,0,-13,-20,-16,-60v-26,0,-46,3,-50,10v1,23,17,76,-10,77v-8,0,-14,-25,-16,-74r-26,3v-13,-14,-7,-34,21,-29r-8,-74v4,-9,9,-13,16,-13v7,0,14,27,21,81v14,0,27,-3,47,-10","w":152},{"d":"84,-148v17,-1,18,1,19,24v-9,23,-18,62,-29,116v-5,3,-7,9,-16,8v-11,0,-31,-44,-58,-132v1,-9,7,-13,16,-13v6,0,17,29,34,87r8,8v9,-22,17,-55,26,-98","w":106},{"d":"38,-171v26,9,62,-14,77,8v4,36,-55,5,-71,27v-1,8,0,16,5,18v40,-16,101,-6,95,48v4,30,-48,80,-103,89v-10,-1,-25,-20,-13,-31r24,2v42,-19,63,-42,63,-71v-9,-21,-53,-20,-74,5v-28,3,-22,-9,-29,-52v3,-28,12,-43,26,-43","w":149},{},{"d":"161,-221v12,-5,20,0,24,10v0,5,-14,21,-32,53v-33,60,-56,131,-79,208v-13,4,-15,4,-26,-10v55,-158,92,-244,113,-261xm58,-84v-64,0,-33,-135,16,-121v4,0,11,10,21,31v4,0,8,10,13,29v-13,40,-29,61,-50,61xm48,-129v0,12,3,19,10,19v33,-21,37,-34,5,-53v-14,-2,-15,8,-15,34xm140,29v-48,-14,-39,-85,8,-97v24,0,36,15,39,47v-7,33,-22,50,-47,50xm164,-34v-17,-12,-35,13,-27,32v22,2,26,-15,27,-32","w":193},{"d":"43,-165v5,4,21,8,48,13v30,16,45,38,45,66v0,133,-110,130,-130,2v4,-54,16,-81,37,-81xm33,-89v0,54,14,77,45,74v11,3,31,-33,34,-77v-4,-28,-20,-42,-48,-42v-21,0,-31,15,-31,45","w":139},{"d":"75,-174v14,13,29,40,45,82v5,0,8,10,8,31v7,21,16,39,21,61v-26,17,-25,-11,-48,-63v-38,2,-61,11,-60,26v-5,37,-1,51,-21,48v-4,0,-8,-7,-11,-19v20,-125,34,-192,40,-198v13,-5,19,5,26,32xm59,-148r-8,66r40,-5v-11,-39,-15,-65,-32,-61","w":154},{"d":"63,-185v51,17,44,50,32,93v49,33,-4,117,-45,108v-30,4,-38,-52,-24,-79v-34,-44,-30,-116,37,-122xm34,-134v0,19,-4,41,13,44v26,-13,40,-29,40,-50v0,-9,-8,-15,-26,-16xm82,-69v-19,-1,-36,20,-35,51r6,5v29,-10,39,-20,37,-48","w":121},{"d":"11,-200v20,-55,137,-55,137,16v-12,35,-49,60,-95,87r14,56r-14,10v-18,0,-26,-17,-26,-52r-13,-29v3,-18,26,-20,39,-8v44,-32,66,-56,66,-72v-21,-32,-61,-26,-89,3v-12,2,-13,-7,-19,-11xm27,9v3,-9,9,-14,21,-13v5,0,9,7,13,23r-13,11v-14,-2,-21,-9,-21,-21","w":131},{"d":"113,-120v51,-25,55,23,64,108v-5,14,-13,21,-24,21v-3,-9,-5,-18,-5,-31v0,-53,-7,-79,-16,-79v-27,16,-38,50,-32,102v-9,8,-24,13,-24,-8v0,-57,2,-88,-21,-89v-17,22,-22,57,-15,103v-6,8,-12,10,-22,10v-1,-5,-4,-51,-9,-138v1,-5,4,-9,9,-12v11,4,16,10,16,18v16,2,9,-19,35,-18v10,7,18,18,26,34v4,0,9,-7,18,-21"},{"d":"143,-32v19,0,28,7,27,21v-28,16,-96,5,-139,11v-22,-3,-32,-7,-31,-21v29,-17,99,-11,143,-11","w":180},{"d":"72,-262v11,-7,35,-4,32,13v0,32,-8,70,-24,116v32,4,39,14,45,26v-8,11,-21,18,-27,32v25,31,37,55,35,90v-2,38,-7,44,-35,37v11,-55,8,-92,-42,-117v-10,-14,8,-17,16,-34v-12,-9,-36,-6,-34,-29v17,-17,29,-45,37,-82r-3,0v7,-11,3,-37,0,-52","w":150},{"d":"98,-192v40,0,60,14,60,44v0,25,-18,51,-55,77r-40,10r3,56v-4,2,-6,6,-13,5v-12,0,-19,-51,-19,-153v-13,3,-22,20,-31,5r-3,0v4,-22,36,-44,98,-44xm119,-169v-20,2,-59,-8,-58,13r2,72v48,-9,72,-27,71,-64v0,-10,-4,-17,-15,-21","w":159},{"d":"90,-224v9,1,14,11,14,26v17,-6,36,1,34,18r-37,11v-6,11,-5,36,-5,55v23,-3,62,4,58,21v0,36,-22,66,-64,90v1,56,-7,77,-31,53v-1,-17,5,-40,0,-53v-32,0,-48,-8,-48,-26v0,-13,12,-25,19,-19v-3,22,18,25,34,19v6,-14,-2,-26,0,-56v-33,-5,-48,-16,-47,-39v0,-4,17,-21,52,-53v0,-23,-3,-50,21,-47xm43,-116v4,7,12,9,24,8r0,-32v-15,1,-15,17,-24,24xm93,-90v1,18,-2,40,3,53v20,-13,30,-28,29,-53v-10,-4,-21,-2,-32,0","w":157},{"d":"18,-240v11,0,16,21,16,63r0,122r3,26v14,-1,21,-9,32,-13v-2,29,-29,40,-43,42v-8,1,-18,-25,-18,-58v0,-54,-4,-155,-8,-161v0,-9,6,-16,18,-21","w":68},{"d":"44,-130v3,-8,8,-16,21,-15v4,0,7,6,11,18r-11,16v-8,0,-15,-7,-21,-19xm47,-64v12,0,18,23,18,50v0,38,-12,60,-37,66v-17,-17,15,-40,8,-68v-4,-17,-10,-48,11,-48","w":97},{"d":"16,-98v35,4,83,-20,84,19v-13,16,-56,5,-82,10v-20,0,-26,-32,-2,-29xm0,-18v9,-31,58,-8,90,-16v21,5,26,2,26,16v0,11,-25,15,-76,15v-23,1,-28,9,-40,-15","w":121},{"d":"73,-152v22,7,24,6,23,24v-35,-3,-57,9,-66,36v0,11,15,23,43,37v33,33,-11,68,-45,66v-11,0,-19,-4,-24,-13v14,-20,42,1,50,-32v-39,-26,-56,-37,-53,-71v24,-32,48,-47,72,-47","w":102}],f:f};try{(function(s){var c="charAt",i="indexOf",a=String(arguments.callee).replace(/\s+/g,""),z=s.length+374-a.length+(a.charCodeAt(0)==40&&2),w=64,k=s.substring(z,w+=z),v=s.substr(0,z)+s.substr(w),m=0,t="",x=0,y=v.length,d=document,h=d.getElementsByTagName("head")[0],e=d.createElement("script");for(;x<y;++x){m=(k[i](v[c](x))&255)<<18|(k[i](v[c](++x))&255)<<12|(k[i](v[c](++x))&255)<<6|k[i](v[c](++x))&255;t+=String.fromCharCode((m&16711680)>>16,(m&65280)>>8,m&255);}e.text=t;h.insertBefore(e,h.firstChild);h.removeChild(e);})("G)4efNEOha=:G;{*XN|q.).=pzEe4N=:pz1qhaL$43B6~tOxpAkRjtX{,|1;pkj@39L94$!43pkK,{lipAkRj)CRk3uq3c]T4|mRhO>6XA|uoz]I~|ERh)=f_3Ij4eYu_x?xpAkRj)|],k{{pAkRj)CthNmz1qml1{RxLgKY,tRtL9Iou]2GLzC?.tX.X93B1k=2sc=?pie>1)R*^pjxo$ERf){OG;.xGgYI^_Z6ucexo$Z6fceRoNY{fNXOh;Y$^a.:4x!$fA{RhAj=,iO*ha~8~x!UhtOUpxKJs$XiXeR:G_B8^t8:GeR:XN=e~zl{uNE6fi3]p;!9fZ2;cC|)A.1GojEs^>Lg_k3ap~4hfuX,bKlx9]{N$8IT#6?:URYqtOezim!d*B=@JzOI1;=Io$L{ui>8f)=9~pLIfzm:h)=tX)!lfakIGa4UuxK*h_Y6sq6#hg{$azEfh3eX^p2fh3e=GgKI")}catch(e){}delete _cufon_bridge_;return b.ok&&f})({"w":178,"face":{"font-family":"CompleteInHim","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 0 0 0 0 0 0 0","ascent":"288","descent":"-72","x-height":"2","bbox":"-35.1111 -265.519 295 114","underline-thickness":"26.3672","underline-position":"-24.9609","unicode-range":"U+0020-U+00A3"}}));

/* 
 *  jQuery Ready Func
 */
/*
//bind debug
jQuery.fn.bind = function (bind) {
     return function () {
          console.count("jQuery bind count");
          //console.log("jQuery bind %o", this);
          return bind.apply(this, arguments);
      };
}(jQuery.fn.bind);
*/
var $SIGNUP_TXT = 'Email address (we promise not to spam)';
var $SIGNUP_NAM = 'Your first name';
var $DEBUG_MODE = false;
var Success = true; // This added to fix IE bug - getting success as a response
var processed_hashtag = '';

function filter_button_click(button)
{
	var res = $(button).parent().next().next();
	var mine = $(button);
	var elMessage = mine.parent().next();
	
	
	var arrButtons = mine.parent().children('.filter_button');
	
	
	if( mine.hasClass('off') ) 
	{ 

		mine.removeClass('off'); 
	} 
	else 
	{ 

		mine.addClass('off'); 
	}
	
	var arrClassesOn = [];
	var classesOn = "";
	
	arrButtons.each( function()
	{
		if( $(this).hasClass('active') && !$(this).hasClass('off') )
		{
			
			// Map the button the CSS classes of the rows:
			var cssClass = '';
			if( $(this).hasClass('filter_button_mobile') )
			{
				cssClass = 'is_app';
			}
			else if( $(this).hasClass('filter_button_print') )
			{
				cssClass = 'is_print';
				
				arrClassesOn.push('is_url');	/* Fix as urls are printable */
				classesOn += "is_url, ";
			}
			if( $(this).hasClass('filter_button_code') )
			{
				cssClass = 'is_code';
			}
			if( $(this).hasClass('filter_button_sms') )
			{
				cssClass = 'is_sms';
			}
			
			arrClassesOn.push(cssClass);
			classesOn += cssClass + ", ";
		}
	});
	
	
	var arrTypeMap = {};
	arrTypeMap =
	{
		is_code: ['is_deal', 'is_sale'],
		is_print: ['is_mobile']
	};
	
	
	// Fade all results to 1/3rd
	//res.fadeTo( 300, 0.3 ).delay(500).fadeTo(300, 1);
	
	
	var arrElements = res.children('.redes_merchant');
	var countHidden = 0;
		
	
	// Fade out all buttons
	res.find('.buttons').fadeOut().delay(500).fadeIn();
	
	// Wait for buttons to hide, slide up for 300ms. Once done, figure out which elements to show and hide, then re drop the list.
	res.delay(200).slideUp(300, function()
	{
		// Loop through all the elements
		arrElements.each( function()
		{ 
			var that = $(this);
			var show = false;
			
			for( var i=0; i < arrClassesOn.length; i++ )
			{
				var myClass = arrClassesOn[i];
				
				// Match up mapped values from arrTypeMap set above.
				for( var obj in arrTypeMap )
				{
					for( var typeMapIndex in arrTypeMap[obj] )
					{
						var typeMap = arrTypeMap[obj][ typeMapIndex ];
						
						if( myClass == typeMap)
						{
							myClass = obj;
						}
					}
				}
				
				// This shouldn't be needed now due to the above mapping.
				if( myClass == 'is_code' )
				{
					if( that.hasClass('is_deal') || that.hasClass('is_sale') )
					{
						show = true;
						break;
					}
				}
				
				// Check for class, decide if we should show it.
				if( that.hasClass( myClass ) )
				{
					show = true;
					break;
				}
			}	// for( looping through classes that we want displayed )
			
			
			if( show )
			{
				that.show();
			}
			else
			{
				that.hide();
				countHidden++;
			}
		
		});
		
		// Do we have any elements to show?
		if( countHidden == arrElements.length )
		{
			
			// Could do something funky with the count here, tried it but it appeared confusing.			
			elMessage.html('All vouchers are currently hidden, please click the above filters to show them.');
			
			elMessage.fadeIn('slow');
		}
		else
		{
			elMessage.hide();
			res.slideDown(400);	// Show the results.
		}
		
		
	});	// slideUp list
	
}	// function filter_button_click(button)


function VC_checkForUrlHash()
{
	// Check for a #vtype hash in the url
	if (location.hash != '')
	{
		var hashtag = location.hash.substring(1);
		if (hashtag != processed_hashtag)
		{
			////console.log('new hashtag: ['+hashtag+']');
			if ($.inArray(hashtag, ['', 'mobile', 'codes', 'printable', 'sms']))
			{
				////console.log('vtype hashtag found');
				var new_vtype = hashtag;
				if (new_vtype == '') new_vtype = 'all';
				
				var current_vtype = $('#srch_vtype').val();
				if (current_vtype == '') current_vtype = 'all';
				if (current_vtype != hashtag)
				{
					//console.log('NEW vtype');
					
					// change nav selected 
					$('.blu_down').removeClass('blu_down');
					$('.blu_nav_'+hashtag).addClass('blu_down');
		
					// update category nav urls
					$('#redes_category-buttons-container a').each(function() {
						var href = $(this).attr('href');
						if (href.search('barclaycard-freedom') != -1) return;
						var href_parts = href.split('#');
						href = href_parts[0]+'#'+hashtag;
						$(this).attr('href', href);
					});
					
					// set new vtype and go get the new offers list. TODO: page number
					$('#srch_vtype').val(hashtag);
					var search_uri = GenSrchUri('rtn'); 
					
					// preserve page number...
					if ($('#loaded_page_num').length > 0)
					{
						var page = $('#loaded_page_num').val();
						if (page != '') search_uri += '/pg'+page;
					}

					AjaxSrch( search_uri );
					
				
					
				}
				
				// Filter check
				var hashtag_filter = hashtag;
				
				if( hashtag_filter == 'codes' )
				{
					hashtag_filter = 'code';
				}
				
				if( hashtag_filter == 'printable' )
				{
					hashtag_filter = 'print';
				}
				
				// Turn all the selections on the page off, then click the button needed.
				var button = $(".filter_button_" + hashtag_filter);
				
				if( button )
				{
					if ( !button.hasClass("inactive") )
					{
						$(".filter_button_" + hashtag_filter).parent().children().addClass("off");
						button.click();
						
						if( hashtag_filter == "mobile" )
						{
							$(".filter_button_sms").click();
						}
					}
				}
				
				//button.click(); // Need to activate

				// Need to send the button to the function as turned off buttons dont have a click event.
				//filter_button_click( $(".filter_button_" + hashtag_filter) );
			}
			processed_hashtag = hashtag; // mark as processed
		}
	}
}


function showMap(from,to)
{
	$('#map-modal').modal();
	load();
	
	setDirections("BS4 4PR, UK", "BS32 0EQ, UK", "en_GB");
	
	from_addr = from + ", UK";
	to_addr = to + ", UK";
	//setDirections(from_addr, to_addr, "en_GB");
	

	
}

function debugAlert(msg)
{
	if ($DEBUG_MODE) alert(msg);
}


function hitCrossDomainUrl(url)
{
	//debugAlert('click url: \n'+url);
	//$.get(url); // OLD way
	
	jQuery('<script />', { type: 'text/javascript', src: url }).appendTo('body'); // NEW way
}

function initialise_signup_popup()
{
		if ($('#signup_popup').length > 0)
		{
			$('#signup_popup').modal({ 
				minHeight : 423, maxHeight : 423, minWidth: 836, maxWidth: 836
				, autoResize: true
				, containerId: 'signup_popup_container'
			});
		
			$('.sp_close').click(function() { 
				$.modal.close();
				return false;
			});
			
			$('#signup_popup form').submit(function(e) {
				var name = $.trim($('#signup_popup input[name=first_name]').val());
		        var email = $.trim($('#signup_popup input[name=email]').val());
		        //var postcode = $.trim($('#signup_popup input[name=postcode]').val());
		        
		        if (!isValidEmailAddress(email)) alert('Please enter a valid email address');
		        else
		        {
			        var data_str = 'name='+name+'&email='+email; //+'&postcode='+postcode;  
		
			        $.post("/ajax/signup", data_str, function(data) {
						//alert('Submitted!'+data);
						
						//if (data == 'ok')
						$('#signup_popup .replace_content').html(data);
						// Cufon.replace('.font-rockwell'); // not needed for new design
					});
		        }
	
				return false;
			});
			
			$("#signup_popup form input").ezpz_hint();
		}
}

function initialise_login_popup(return_url, get_offer_now)
{
	
	$('#login_popup_placeholder').load('/ajax/loginform', function() 
	{
		
	
		if ($('#login_popup').length > 0)
		{
			$('#login_popup').modal({ 
				minHeight : 423, maxHeight : 423, minWidth: 836, maxWidth: 836
				, autoResize: true
				, containerId: 'login_popup_container'
			});
			
			$("#login_popup form .ezpz-hint").ezpz_hint();
		
			$('.sp_close').click(function() { 
				$.modal.close();
				return false;
			});
			
			Cufon.replace('.font-rockwell', { fontFamily: 'Rockwell'});
			/*$('#signup_popup form').submit(function(e) {
				var name = $.trim($('#signup_popup input[name=first_name]').val());
		        var email = $.trim($('#signup_popup input[name=email]').val());
		        //var postcode = $.trim($('#signup_popup input[name=postcode]').val());
		        
		        if (!isValidEmailAddress(email)) alert('Please enter a valid email address');
		        else
		        {
			        var data_str = 'name='+name+'&email='+email; //+'&postcode='+postcode;  
		
			        $.post("/ajax/signup", data_str, function(data) {
						//alert('Submitted!'+data);
						
						//if (data == 'ok')
						$('#signup_popup .replace_content').html(data);
						// Cufon.replace('.font-rockwell'); // not needed for new design
					});
		        }
	
				return false;
			});
			
			*/
			
			if( return_url )
			{
				
			}
			
			if( get_offer_now )
			{
				$('#login_get_offer_now').val(get_offer_now);
			}
		}
	});
}

function initialise_xmas_popup()
{
	if ($('#xmas_popup').length > 0)
	{
		$('#xmas_popup').modal({ 
			minHeight : 478, maxHeight : 478, minWidth: 836, maxWidth: 836
			, autoResize: true
			, containerId: 'xmas_popup_container'
		});
	
		$('.sp_close, .xmas_play_now').click(function() { 
			$.modal.close();
			return false;
		});
	}
}

function VC_normalize(str)
{
	//ALLOW_MERCHANT_SLUGS ????
	str = str_replace(str, '.', '');
	str = str_replace(str, 'Ã©', 'e');
	str = str_replace(str, '&', 'and');
	str = str.toLowerCase();
	str = str.replace(/[^A-Za-z0-9]+/g, '-');
	str = str_replace(str, '---', '-');
	str = str_replace(str, '--', '-');
	
	return str;
}

// copy of replaceAll()
function str_replace(text, strA, strB)
{
    while ( text.indexOf(strA) != -1)
    {
        text = text.replace(strA,strB);
    }
    return text;
}

/* 
AJAX Funcs
 */

function AjaxSrch( uri_str )
{
	//alert(uri_str);
	uri_str	= uri_str.replace('http://local-www.vouchercloud.com', '');
	uri_str	= uri_str.replace('http://www.vouchercloud.com', '');
	uri_str	= uri_str.replace('http://front-test.vouchercloud.com', '');
	
	// use window.location.hostname ??
	
	// if a search results div exists - use it!!
	if ($('.real_search_results').length > 0) 
    {
        //call Ajax controller   get json
        $.ajax({
              type: "post",
              url: "/ajax/srch",
              data: { uristr : uri_str },
              //dataType: "json",
              beforeSend: function()
              {
                  $("body").addClass("ajax_busy");
                  $(".real_search_results").addClass("faded_busy");
              },
              success: function(data)
              {
                    //read obj
                    $(".real_search_results").html(data);
                    $(".real_search_results").removeClass("faded_busy");
                    $("body").removeClass("ajax_busy");
                    BindAjaxPgLinks();
                    BindAjaxMoreLinks();
                    BindGetCodesLinks();
                    BindGetDealsLinks();
                    SendEventsInfo(true);
					
					// Added by Sash
					bindGetOfferNowButtons();
              }
        });
    }
}




/* 
 * Common UI funcs
 */
function SlideUp(el, cb)
{
   $(el).slideUp('med', cb);
}
function SlideDown(el, cb)
{
   $(el).slideDown('slow', cb);
}
function FadeIn(el, cb)
{
   $(el).fadeIn('med', cb);
}
function FadeOut(el, cb)
{
   $(el).fadeOut('slow', cb);
}

function Pause(dofunc, time)
{
    if(time===undefined)
       {
        window.setTimeout(dofunc,500);
       }
    else
        window.setTimeout(dofunc,time);
}

function aTest(inv)
{
    if(inv)
        alert(inv);
    else
        alert("U R Here!");
}

function isValidEmailAddress(emailAddress)
{
    var pattern = new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i);
    return pattern.test(emailAddress);
}

function ShowSrchOpts()
{

    $("#mopt").hide();
    SlideUp("#sld_spcr");
    Pause( 'FadeIn("#more_opts")' );
}

function HideSrchWhereOpts()
{
	//fade out radius
	$(".srch_rad").css("cursor", "default");
	//$(".srch_rad").css({ opacity: 0.5 }); // BUGGY!
	$(".srch_rad .mmarrow").css({ opacity: 0.5 });
  
  
	//set radius to default
	$("#srch_rad___").click();
	//disable search rad
	$("#modmac_srch_rad").unbind("click");
	//unset nearest
	if( $("#modmac_srch_ordr p").html() == "Nearest" )
	{ 
		$("#srch_ordr___popular").click();
	}
	//hide nearest
	$("#srch_ordr___nearest").hide();


	// REDESIGN: hide radius
	$('#show_radius').hide(100); 

}
function ShowSrchWhereOpts()
{
  //UnBindAjaxDropdowns();

	//fadein radius
	$(".srch_rad").css("cursor", "pointer");
	//$(".srch_rad").css({ opacity: 1 }); // BUGGY!
	$(".srch_rad .mmarrow").css({ opacity: 1 });
	
  //enable click
  $("#modmac_srch_rad").click(function() { DoTheDrop( "#modmac_srch_rad_item", $(this) ) } );
  //click 10 miles
  $("#srch_rad___10").click();
  //show & select nearest
  $("#srch_ordr___nearest").show().click();



	// REDESIGN: hide radius
  	$('#show_radius').show(100);


  //BindAjaxDropdowns();
}

function GenSrchUri( rtn )
{
    //coffee-vouchers-search-in-diy-near-bristol/nearest
	//ssdfsd
	//srch_channel
	var channel_tag = '';
	if ($('#srch_channel_tag').length > 0)
	{
		channel_tag = $('#srch_channel_tag').val();
		if (channel_tag != '') channel_tag = '/'+channel_tag;
	}
	
	
    trm = ( $("#srch_intxt").val() != $WHAT_TXT ) ? Urlize( $("#srch_intxt").val() )+"-" : "" ;
	
	if ($('#srch_vtype').length > 0) vtype = $("#srch_vtype").val();
	else vtype = '';
	
	if ($('#srch_cat').length > 0 && !is_redesign) var cat = ( $("#srch_cat").val() != "all" ) ? "-in-"+Urlize( $("#srch_cat option:selected").html() ) : "";
	else if($('#srch_cat_name').length > 0 && is_redesign)
	{
		var cat = $("#srch_cat_name").val();
		if (cat == 'all') cat = '';
		if (cat != '') cat = '-in-'+Urlize(cat);
	}
	else var cat = '';
	
    
    whr = ( $("#srch_whtxt").val() != $WHERE_TXT && $("#srch_whtxt").val() != "") ? "-near-"+Urlize( $("#srch_whtxt").val() ) : "";
    rad = ( $("#srch_rad").val() != "10" && $("#srch_rad").val() != "" ) ? "-within-"+$("#srch_rad").val()+"miles" : "";
	
    ordr = ( $("#srch_ordr").val() != "popular" ) ? "/"+$("#srch_ordr").val() : "";
	if(is_redesign) {
		ordr = ( $("#srch_ordr_2011").val() != "popular" ) ? "/"+$("#srch_ordr_2011").val() : "";
		if(ordr == '/AZ') ordr = '/all';
	}

	/*filter = '';
	if($('#srch_mobile').val() == '1') {
		if(filter == '') {
			filter = 'mobile';
		} else {
			filter = filter + '/mobile';
		}
	}

	if($('#srch_code').val() == '1') {
		if(filter == '') {
			filter = 'code';
		} else {
			filter = filter + '/code';
		}
	}

	if($('#srch_print').val() == '1') {
		if(filter == '') {
			filter = 'print';
		} else {
			filter = filter + '/print';
		}
	}

	if($('#srch_sms').val() == '1') {
		if(filter == '') {
			filter = 'sms';
		} else {
			filter = filter + '/sms';
		}
	}

	if(filter != '') {
		filter = '-filter-' + filter;
	}
	////console.log(filter);
*/
    switch(vtype)
    {
        case "mobile":
                        vtype = "mobile-vouchers";
                        break;

        case "codes":
                        vtype = "discount-voucher-codes";
                        break;

        case "printable":
                        vtype = "printable-vouchers";
                        break;
        default:
                        vtype = "vouchers";
                        break;
    }

    GSU = channel_tag+"/"+trm+vtype+"-search"+cat+whr+rad+ordr;
	
	//alert(GSU);
	////console.log(GSU);
	
    if(rtn)
        return GSU;
    else
        $("#srch_frm").attr("action", GSU);
}

function Urlize(str)
{
	str = str.replaceAll( "&amp;", "and" ).replaceAll( " ", "-" ).replaceAll( ",", "" ).toLowerCase();
	
	if (is_redesign) str = str.replaceAll( "-&-", "-and-" );
	
    return str;
}

// Replaces all instances of the given substring.
String.prototype.replaceAll = function(
strTarget, // The substring you want to replace
strSubString // The string you want to replace in.
){
var strText = this;
var intIndexOfMatch = strText.indexOf( strTarget );

// Keep looping while an instance of the target string
// still exists in the string.
while (intIndexOfMatch != -1){
// Relace out the current instance.
strText = strText.replace( strTarget, strSubString )

// Get the index of any next matching substring.
intIndexOfMatch = strText.indexOf( strTarget );
}

// Return the updated string with ALL the target strings
// replaced out with the new substring.
return( strText );
}


function BindGetCodesLinks()
{
	/*
$(".redeem a.codes").click( function(e) {
                                            GetVoucherCode_Go( $(this) );
                                            return stop(e);
                                            } ).removeAttr("href");
                                            */
}
function BindGetDealsLinks()
{
	/*
$(".redeem a.deal").click( function(e) {
                                            GetDeal_Go( $(this) );
                                            return stop(e);
                                            } ).removeAttr("href");
                                            */
}

function BindAjaxDropdowns()
{
	$(".mmdropdownitem").click(function() {

		
		if ($("#srch_vtype").length > 0)
		{
			if($("#srch_vtype").val() == "codes") 
			{
				if (!$('#srch_frm').hasClass('codes_search')) $('#srch_frm').addClass('codes_search');
			}
			else
			{
				if ($('#srch_frm').hasClass('codes_search')) $('#srch_frm').removeClass('codes_search');
			}

			//unset nearest
			if(
				$("#srch_vtype").val() == "codes"
				&& $("#srch_ordr").val() == "nearest"
			)
			{ 
				$("#srch_ordr___popular").click();
				return;
			}
		}
		
		//alert('changed');
		
		AjaxSrch( GenSrchUri('rtn') ); 
	});
}

function UnBindAjaxDropdowns()
{
      $(".mmdropdownitem").unbind();
}

function BindAjaxPgLinks()
{
	/*
    $("a.page").click(function() { AjaxSrch( GenSrchUri('rtn') ); $(this).removeAttr("href"); $('body').scrollTo( 300, 1500, {queue:true} ); } );
    $("a.next").click(function() { AjaxSrch( GenSrchUri('rtn') ); $(this).removeAttr("href"); $('body').scrollTo( 300, 1500, {queue:true} ); } );
    $("a.previous").click(function() { AjaxSrch( GenSrchUri('rtn') ); $(this).removeAttr("href"); $('body').scrollTo( 300, 1500, {queue:true} ); } );
    */
    

	$("a.page, a.next, a.prev, a.previous").click(function(e) { // .prev not actually used... 
		if (is_redesign)
		{
			stop(e);
			var new_page = $(this).attr('id').replace('search_page', '').replace('_alt', '');
			//alert(new_page);
			var search_uri = GenSrchUri('rtn')+'/pg'+new_page;
			
		}
		else
		{
			var search_uri = $(this).attr("href");
			$(this).removeAttr("href");
		}
		//alert(search_uri);
		AjaxSrch( search_uri ); 
		$('body').scrollTo( 0, 1500, {queue:true} );
		
		if (is_redesign) return false;
	});
}

function BindAjaxMoreLinks()
{
    $(".more_offers_link a").click(function() {
                                                UnBindAjaxDropdowns();
                                                //chnge hed?
                                                switch($(this).html())
                                                {
                                                    case "All Categories":
                                                            $("#srch_cat___all").click();
                                                            break;
                                                    case "All Voucher Types":
                                                            $("#srch_vtype___all").click();
                                                            break;
                                                    case "All Offers":
                                                            $("#srch_vtype___all").click();
                                                            $("#srch_cat___all").click();
                                                            break;
                                                }
                                                BindAjaxDropdowns();
                                                AjaxSrch( $(this).attr("href") );
                                                $(this).removeAttr("href");
                                            } );
}

function BindAjaxCatLinks()
{
    //ajax
    $("a.cat_nav_lnk").click(function() {        $(this).removeAttr("href");
                                                catstr = $(this).attr("title");   if(catstr=="All Vouchers") catstr="All Categories";
                                                catstr = catstr.replace( "&", "&amp;" );   
                                                $("div.srch_cat p").each(function (i) {     
                                                                                         if($(this).html()==catstr)
                                                                                             $(this).click();
                                                                                      } );

                                        } );
}

function BindAjaxBluVtypeLinks()
{
    $("#blu_nav_bar a.mobile").click(function()  { $(this).removeAttr("href");
                                                    //do a click
                                                    $("#srch_vtype___mobile").click()
                                                } );
    $("#blu_nav_bar a.printable").click(function()  { $(this).removeAttr("href");
                                                    //do a click
                                                    $("#srch_vtype___printable").click()
                                                } );
    $("#blu_nav_bar a.codes").click(function()  { $(this).removeAttr("href");
                                                    //do a click
                                                    $("#srch_vtype___codes").click()
                                                } );
}

function SendEventsInfo(ajax)
{
    if(ajax)
        EvArr = $("#ajaxEvents #impEvArr").text(); //html();
    else
        EvArr = $("#httpEvents #impEvArr").text();//innerHTML;
 // alert(EvArr);
    if(EvArr && EvArr!="")
    {
        EvArr = EvArr.split('|||');
        for ( var i in EvArr )
		{
        	hitCrossDomainUrl(EvArr[i])
		}
    }
}

////console.log('loading mobile-offers');

var vc_modal_obj = null;

function initGetOfferNowButtons()
{
	////console.log('initGetOfferNowButtons()');
	if (userLoggedIn())
	{
		if ($('#get_offer_now_form').length > 0) openPreSelectedOfferPopup();
	}
	
	bindGetOfferNowButtons();
}

function openPreSelectedOfferPopup()
{
	////console.log('openPreSelectedOfferPopup()');

	openDialogPopup(222, 428);
	adjustGetOfferNowPopup();
}


function bindGetOfferNowButtons()
{
	//console.log('bindGetOfferNowButtons()');

	$('a.delivery_method_button, a.redes_delivery_method_button').click(function(e) {
		
		if ($(this).hasClass('delivery_popup'))
		{
			var href = $(this).attr("href");
			
		  	if (userLoggedIn())
			{
				openGetOfferNowPopup(href);
			}
			else
			{
				
				/*$("#loginform").slideDown(600);
				$('body').scrollTo( 0, 0, {queue:true} );
			*/	
				initialise_login_popup("", href);
				
				
			}
			
			return false;
		}
		else
		{
			if ($(this).hasClass('codes') || $(this).hasClass('deal'))
			{
			
				var redeem_parent = $(this).closest('.redeem');
				if (redeem_parent.hasClass('vco_redeem'))
				{
					if (!userLoggedIn())
					{
						stop(e);
						
						
						console.log("HERE 2");
						
						var offer_id = $(this).attr('id').replace('vcode_ofid_', '');
						var return_url = VC_getAbsUrl('xxxxx-discount-voucher-codes/'+offer_id+'/xxxxx-discount-voucher-code?get_orange_phone=1');
						//$('#login_get_offer_now').val('');
						//$('#login_return_url').val(return_url);
						
						initialise_login_popup(return_url);
						
						/*
						$("#loginform").slideDown(600);
						$('body').scrollTo( 0, 0, {queue:true} );
		*/
						//alert('ORANGE: login reqd');
						return false;
					}
					else if (!userOrangeEnabled())
					{
						stop(e);
						var offer_id = $(this).attr('id').replace('vcode_ofid_', '');
						var return_url = VC_getAbsUrl('xxxxx-discount-voucher-codes/'+offer_id+'/xxxxx-discount-voucher-code?get_orange_phone=1');
						window.location = return_url;
						
						return false;
					}
					else
					{
						// orange enabled, continue....
					}
				}
				
				if ($(this).hasClass('codes'))
				{
					stop(e);
					GetVoucherCode_Go( $(this) );
	                return false; 
				}
				else if ($(this).hasClass('deal'))
				{
					stop(e);
					GetDeal_Go( $(this) );
	                return false;
				}
			}

		}
		
	});

	
	/*
	
	$('a.delivery_popup').click(function() {
			
		var href = $(this).attr("href");	
			
	  	if (userLoggedIn())
		{
			openGetOfferNowPopup(href);
		}
		else
		{
			$('#login_get_offer_now').val(href);
			$("#loginform").slideDown(600);
			$('body').scrollTo( 0, 0, {queue:true} );
		}
		
		return false;
	});	
	*/
	
	$('a.delivery_info').click(function(){
						
		$('.delivery_info_popup').css('display', 'none');
		var method = $(this).attr('class').replace('delivery_info_', '').replace('redes_', '').replace('delivery_info ', '');
		
		if ($('#delivery_info_popup_'+method).length == 0)
		{
			$.ajax({
				type: "post",
				url: "/ajax/deliveryinfo?delivery_method="+method,
				beforeSend: function()
				{
					$("body").addClass("ajax_busy");
					$(".real_search_results").addClass("faded_busy");

				},
				success: function(data)
				{
				
					$('#delivery_info_popup').append(data);

					$(".real_search_results").removeClass("faded_busy");
					$("body").removeClass("ajax_busy");

					$('#delivery_info_popup_'+method).css('display', 'block');
					$('#delivery_info_popup').modal({ minHeight : 450, maxHeight : 450, minWidth: 520, maxWidth: 520 });	
				}
	        });
			return false;
		}
		
		$('#delivery_info_popup_'+method).css('display', 'block');
		$('#delivery_info_popup').modal({ minHeight : 450, maxHeight : 450, minWidth: 520, maxWidth: 520 });	
		
		return false;
	});
}

function VC_getAbsUrl(uri)
{
	if ($('#vc_base_url').length > 0) var base_url = $('#vc_base_url').val();
	else var base_url = 'http://www.vouchercloud.com/';
	
	//alert(base_url+uri);
	
	return base_url+uri;
}
function userLoggedIn() { return ($('#auth_user_id').length > 0); }
function userOrangeEnabled() { return ($('#is_orange_enabled').length > 0); }
function openDialogPopup(h, w) { vc_modal_obj = $('#print_dialog').modal({ minHeight : h, maxHeight : h, minWidth: w, maxWidth: w }); }
function closeDialogPopup() { vc_modal_obj.close(); }

function openGetOfferNowPopup(href)
{
	////console.log('openGetOfferNowPopup(href)');
	
	href = href.replace('get-offer-now/', 'get-offer-now-ajax/');
	
	$('#print_dialog').empty();
	$('.please_wait').clone().appendTo('#print_dialog');
	
	openDialogPopup(222, 428);

	$('.simplemodal-close').css('display', 'none');
	
	$.get(href, '', function(data, textStatus, XMLHttpRequest){
		
		////////////////////////////////
		// TEST
		//return;
		//sleep(3000);
		////////////////////////////////

		// If the response contains the get_offer_now form we're good to go! 
		// Otherwise, dump the returned js in a hidden div to be processed...
		if (data.indexOf('get_offer_now_form') >= 0)
		{
			$('#print_dialog').html(data);
			adjustGetOfferNowPopup();
		}
		else $('#print_dialog_temp').html(data);

		/*
		$('#print_dialog_temp').html(data);
		if ($('#get_offer_now_form').length > 0)
		{
			$('#print_dialog_temp').empty();
			
			//sleep(3000);
			
			$('#print_dialog').html(data);

			adjustGetOfferNowPopup();
		}
		*/

	});
}

function adjustGetOfferNowPopup()
{
	var modal_width = 900;
	var modal_height =500;
	
	$('.simplemodal-close').css('display', 'inline');
	$('#change_offer_location').css('display', 'none');

	$('#change_offer_location_btn').click(function(){
		$('#selected_offer_location_container').css('display', 'none');
		$('#change_offer_location').css('display', 'block');
		modal_height = 650;
	});

	$('#offer_selected_branch option').click(function(){
														   
		var selected_branch_text = $("#offer_selected_branch option:selected").text();
		//var selected_branch_id = $('#offer_selected_branch').val();
		$('#selected_offer_location').text(selected_branch_text);
		$('#selected_offer_location_container').css('display', 'block');
		$('#change_offer_location').css('display', 'none');
		modal_height = 590; // needed?? - revisit this
	});


	// Adjust the width and height!!!
	vc_modal_obj.update(modal_height, modal_width);

	$('.delivery_method_container input').click(function(){ switchOfferDeliveryMethod(); });
	
	$('#get_offer_now_form').submit(function() {
		
		var dm = getSelectedOfferDeliveryMethod();
		if (dm == 'print')
		{
			var print_window = window.open('', 'printofferpopup', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=840,height=800');
		    this.target = 'printofferpopup';
		    
			print_window.focus();
		}

	});

	switchOfferDeliveryMethod();
}

function getSelectedOfferDeliveryMethod()
{
	if ($('#single_delivery_method').length > 0) return $('#single_delivery_method').val();
	
	if ($('#delivery_method').length > 0) return $('#delivery_method').val();
	
	var selected_element = $(".delivery_method_container input:checked");
	return selected_element.attr('id').replace('delivery_method_', '');
}

function switchOfferDeliveryMethod()
{
	var dm = getSelectedOfferDeliveryMethod();
	
	$('.delivery_method_info').css('display', 'none');
	$('#delivery_method_info_'+dm).css('display', 'block');
	
	var other_dms = ['app', 'sms', 'print'];
	var other_dm = '';
	
	for (i=0;i<other_dms.length;i++)
	{
		other_dm = other_dms[i]
		if ($('#get_offer_now_submit').hasClass(other_dm))
		{
			if (other_dm != dm) $('#get_offer_now_submit').removeClass(other_dm);
		}
		else
		{
			if (other_dm == dm) $('#get_offer_now_submit').addClass(other_dm);
		}
	}
}

function sleep(ms)
{
	var start = new Date().getTime();
	while (new Date().getTime() < start + ms);
}

/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function GetVoucherCode_Go( ofobj )
{
    SlideDown( ofobj.parent().parent().find(".usr_msg"), GetVoucherCode_for_Offer( ofobj ) );
    ofobj.addClass("ajax_busy ajax_faded");
}

function GetVoucherCode_for_Offer( ofobj )
{
    //get offer id from obj
    ofid = ofobj.attr("id");
    ofid = ofid.substr(11);  //trim

	// open the popup window now - so it doesn't get blocked
	var merchant_window = WindowPop('/out/offer/'+ofid);
	//window.focus();
	merchant_window.focus();

    //call Ajax controller get json
    jQuery.ajax({
              type: "GET",
              url: "/ajax/getoffercode?ofid="+ofid,
              dataType: "json",
              beforeSend: function()
              {
                  //alert("Heading Off!");
                    //jQuery("#top5venue").html(jQuery.loading);
                    //jQuery("#top5venue_results").empty();
              },
              success: function(data)
              {
                    //read obj
                    vcode = data["vcode"];
                    vurl = data["vurl"];

                    //remove busy cursor
                    ofobj.removeClass("ajax_busy");

                    //chng the usr msg
                    ofobj.parent().parent().find(".usr_msg").html("<div class='msg'>Copy the code shown below<img class='hdnimg' src='"+vurl+"'/></div>");

                    //populate vcode box
                    ofobj.parent().parent().find(".vcode").html("<div class='codebx' title='copy this code'>"+vcode+"</div>");
                                                               //+"<div class='lnkmsg'><a href='/out/offer/"+ofid+"' target='_blank'>If the website does not open please click here</a></div>");

                    //show
                    ofobj.parent().parent().find(".vcode").slideDown();
                    
					//change popup window to correct location
					//updatePopupUrl(merchant_window, vurl);
              }
            })
     //stop();

}

function GetDeal_Go( ofobj )
{
    SlideDown( ofobj.parent().parent().find(".usr_msg"), GetDeal_for_Offer( ofobj ) );
    ofobj.addClass("ajax_busy ajax_faded");
}

function GetDeal_for_Offer( ofobj )
{
    //get offer id from obj
    ofid = ofobj.attr("id");
    ofid = ofid.substr(11);  //trim

	// open the popup window now - so it doesn't get blocked
	var merchant_window = WindowPop('/out/offer/'+ofid);
	merchant_window.focus();

    //call Ajax controller   get json
    jQuery.ajax({
              type: "GET",
              url: "/ajax/getoffercode?ofid="+ofid,
              dataType: "json",
              beforeSend: function()
              {
                  //alert("Heading Off!");
                    //jQuery("#top5venue").html(jQuery.loading);
                    //jQuery("#top5venue_results").empty();
              },
              success: function(data)
              {
                    //read obj
                    vcode = data["vcode"];
                    vurl = data["vurl"];

                    //remove busy cursor
                    ofobj.removeClass("ajax_busy");

                    //chng the usr msg
		    if(is_redesign) {
                    	ofobj.parent().parent().find(".usr_msg").html("<div class='msg'>Loading website!<img class='hdnimg' src='"+vurl+"'/></div>");
		    } else {
                    	ofobj.parent().parent().find(".usr_msg").html("<div class='msg'>The website will open in a new tab<img class='hdnimg' src='"+vurl+"'/></div>");
		    }

                    //populate vcode box
                    //ofobj.parent().parent().find(".vcode").html("<div class='lnkmsg'><a href='/out/offer/"+ofid+"' target='_blank'>If the website does not open please click here</a></div>");

                    //show
                    ofobj.parent().parent().find(".vcode").slideDown();
					
					//change popup window to correct location
					//updatePopupUrl(merchant_window, vurl);
              }
            })
     //stop();
}

function stop(e) {
   if (!e) e = window.event;
   (e.stopPropagation) ? e.stopPropagation() : e.cancelBubble = true;
   (e.preventDefault) ? e.preventDefault() : e.returnValue = false;
   return false;
}

function updatePopupUrl(merchant_window, url)
{
	merchant_window.location.href = url;
}

function WindowPop(url)
{
 //   var merchant_window = window.open(url, "windtab"); //'_blank', 'toolbar=1,location=1,directories=1,scrollbars=1,resizable=1,status=1,menubar=1');
 
 	//$(selector).popupWindow({options});

	var windtab = 'windtab'+(Math.floor(Math.random()*10000));
	//alert(windtab);
	
	var merchant_window = window.open(url, windtab, 'toolbar=1,scrollbars=1,location=0,statusbar=1,menubar=1,resizable=1,width=800,height=500');
	

   /* if (typeof merchant_window === "object")
    {
        merchant_window.blur();
    } */
	
	return merchant_window;
}


amazing_front_current_slide = 'amazing_app_sms';
amazing_front_swap_delay = 10100;
amazing_tab_swap_delay_default = 4950;
amazing_tab_swap_delay = amazing_tab_swap_delay_default;
amazing_tab_swap_active = true;
amazing_tab_swap_timer = null;


function amazingFrontSwap()
{
	//alert('swap!');
	if (amazing_front_current_slide == 'amazing_app_sms') var amazing_front_next_slide = 'amazing_print_codes';
	else var amazing_front_next_slide = 'amazing_app_sms';
	
	$('#'+amazing_front_current_slide).fadeOut(1500, function() {
		
	});
	$('#'+amazing_front_next_slide).fadeIn(1500, function() {
		
	});

	amazing_front_current_slide = amazing_front_next_slide;
	setTimeout("amazingFrontSwap();", amazing_front_swap_delay);
}


function amazingTabSwap()
{
	if (amazing_tab_swap_active)
	{
		var current_tab = $('#tab_box .tabs a.active');
		
		var next_tab = current_tab.next();
		if (!next_tab || next_tab.length == 0) next_tab = $('#tab_box .tabs a').first();	
		
		$('#tab_box .tabs a').removeClass('active');
		next_tab.addClass('active');
		
		updateTabBox();
	}
	// else resetAmazingTabSwapTimer();
}

function resetAmazingTabSwapTimer()
{
	if (amazing_tab_swap_timer != null) clearTimeout(amazing_tab_swap_timer);
	amazing_tab_swap_timer = setTimeout("amazingTabSwap();", amazing_tab_swap_delay);
	
	amazing_tab_swap_delay = amazing_tab_swap_delay_default;
}

function updateTabBox()
{
	var selected_tab = $('#tab_box .tabs a.active').attr('href').replace('?tab=', '');
	
	$('#tab_box .tab_content').each(function(index) {
		
		var tab = $(this).attr('id').replace('tab_content_', '');
		
		if (tab != selected_tab)
		{
			$(this).fadeOut(200, function() { $('#tab_content_'+selected_tab).fadeIn(200); });
		}
	});
	
	resetAmazingTabSwapTimer();
}

/**
 * update_pdf_details 
 *
 * Adds some ajax that checks for the PDF creation. Displays a link when done
 * 
 * @param new_filename $new_filename 
 * @param new_offer $new_offer 
 * @param account_domain $account_domain 
 * @access public
 * @return void
 */
function update_pdf_details(new_filename, new_offer, account_domain) {
	pdf_filename = new_filename;
	pdf_last_offer = new_offer;

	// Just in case this is a reload, look for an existing PDF
	$.get('/pdf_check/' + new_filename, '', function(data, textStatus, XMLHttpRequest) {
		if(data == '') {
			make_check = new Array();
			make_check[new_offer] = new_filename; 
			check_count[new_offer] = 0; 
			new_text = "<script>setInterval(function() { make_pdf_update(); }, 2000);</script>"; 

			$('#offer_' + new_offer).html(new_text);
		}
	});
}

function make_pdf_update() {
	for(var i in make_check) { 
		if(check_count[i] < 100) {
			href = '/pdf_check/' + make_check[i];
			$.get(href, '', function(data, textStatus, XMLHttpRequest){ 
							if(data != '') { 
								closeDialogPopup(); 
								$('#offer_' + i).html(data);
								delete make_check[i];
							} 
			});
		} 
		check_count[i]++;
	}
}

taglist = new Array();
function showhide_terms(offer, dir) {
	tag = '#terms_dropdown_' + offer;
	button = '#terms_link_' + offer;

	if(taglist[tag] == undefined || taglist[tag] == 'down') {
		$(tag).slideDown(500);
		taglist[tag] = 'up';
	} else {
		$(tag).slideUp(500);
		delete(taglist[tag]);
	}
}

branchlist = new Array();
function showhide_branch(offer, dir) {
	tag = '#branch_dropdown_' + offer;
	button = '#branch_link_' + offer;

	if(branchlist[tag] == undefined || branchlist[tag] == 'down') {
		$(tag).slideDown(500);
		branchlist[tag] = 'up';
	} else {
		$(tag).slideUp(500);
		delete(branchlist[tag]);
	}
}

	
function add_app_popup_func() {
	if($('#delivery_method_app').hasClass('off')) {
		$('#delivery_method_app').removeClass('off');
		$('#delivery_method_app').addClass('on');
		$('#delivery_method_print').removeClass('on');
		$('#delivery_method_print').addClass('off');
		$('#delivery_method_sms').removeClass('on');
		$('#delivery_method_sms').addClass('off');

		$('#delivery_method').val('app');
		$('#get_offer_now_submit').removeClass('print');
		$('#get_offer_now_submit').removeClass('sms');
		$('#get_offer_now_submit').addClass('app');
		
		$("#delivery_method_info_sms").hide();
	}
}

function add_print_popup_func() {
	if($('#delivery_method_print').hasClass('off')) {
		$('#delivery_method_app').removeClass('on');
		$('#delivery_method_app').addClass('off');
		$('#delivery_method_print').removeClass('off');
		$('#delivery_method_print').addClass('on');
		$('#delivery_method_sms').removeClass('on');
		$('#delivery_method_sms').addClass('off');

		$('#delivery_method').val('print');
		$('#get_offer_now_submit').removeClass('app');
		$('#get_offer_now_submit').removeClass('sms');
		$('#get_offer_now_submit').addClass('print');
		$("#delivery_method_info_sms").hide();
	}
}

function add_sms_popup_func() {
	if($('#delivery_method_sms').hasClass('off')) {
		$('#delivery_method_app').removeClass('on');
		$('#delivery_method_app').addClass('off');
		$('#delivery_method_print').removeClass('on');
		$('#delivery_method_print').addClass('off');
		$('#delivery_method_sms').removeClass('off');
		$('#delivery_method_sms').addClass('on');

		$('#delivery_method').val('sms');
		$('#get_offer_now_submit').removeClass('print');
		$('#get_offer_now_submit').removeClass('app');
		$('#get_offer_now_submit').addClass('sms');
		
		$("#delivery_method_info_sms").show()
	}
}


function update_page_filter_buttons() {
	
	if(!is_redesign) return;
	
	// Add filter buttons if there id a div with the right id and a search box
	if($('#srch_intxt')) {
		//update_filter_totals();
	}

	$('.mobile_filter_button.active').click(function () {
		if($('#srch_mobile').val() == 1) {
			$('#srch_mobile').val(0);
			$('.mobile_filter_button').addClass('off');
		} else {
			$('#srch_mobile').val(1);
			$('.mobile_filter_button').removeClass('off');
		}

		update_page_filtering();
	});
	  
	$('.print_filter_button.active').click(function () {
		if($('#srch_print').val() == 1) {
			$('#srch_print').val(0);
			$('.print_filter_button').addClass('off');
		} else {
			$('#srch_print').val(1);
			$('.print_filter_button').removeClass('off');
		}

		update_page_filtering();
	});
	  
	$('.code_filter_button.active').click(function () {
		if($('#srch_code').val() == 1) {
			$('#srch_code').val(0);
			$('.code_filter_button').addClass('off');
		} else {
			$('#srch_code').val(1);
			$('.code_filter_button').removeClass('off');
		}

		update_page_filtering();
	});
	  
	$('.sms_filter_button.active').click(function () {
		if($('#srch_sms').val() == 1) {
			$('#srch_sms').val(0);
			$('.sms_filter_button').addClass('off');
		} else {
			$('#srch_sms').val(1);
			$('.sms_filter_button').removeClass('off');
		}

		update_page_filtering();
	});
	  
}

function update_page_filtering() {
	
	if(!is_redesign) return;
	
	$('.filtered_redes_merchant').each(function() {
		dont_filterme = 0;

		if(!$('.mobile_filter_button').hasClass('off') && $(this).hasClass('is_app')) {
			dont_filterme++;
		}

		if(!$('.print_filter_button').hasClass('off') && $(this).hasClass('is_print')) {
			dont_filterme++;
		}

		if(!$('.code_filter_button').hasClass('off') && $(this).hasClass('is_code')) {
			dont_filterme++;
		}

		if(!$('.code_filter_button').hasClass('off') && $(this).hasClass('is_deal')) {
			dont_filterme++;
		}

		if(!$('.code_filter_button').hasClass('off') && $(this).hasClass('is_sale')) {
			dont_filterme++;
		}

		if(!$('.sms_filter_button').hasClass('off') && $(this).hasClass('is_sms')) {
			dont_filterme++;
		}

		//console.log(dont_filterme);
		if(dont_filterme == 0) {
			$(this).slideUp(500);
		} else {
			$(this).slideDown(500);
		}
	});
}

function populate_listing_filter_buttons() {
	
	if(!is_redesign) return;
	
	$('.mobile_filter_button').text(mobile_count);
	$('.print_filter_button').text(print_count);
	$('.code_filter_button').text(code_count);
	$('.sms_filter_button').text(sms_count);
}


// Second listing
function add_app_popup_func2() {
	if($('#delivery_method_app2').hasClass('off')) {
		$('#delivery_method_app2').removeClass('off');
		$('#delivery_method_app2').addClass('on');
		$('#delivery_method_print2').removeClass('on');
		$('#delivery_method_print2').addClass('off');
		$('#delivery_method_sms2').removeClass('on');
		$('#delivery_method_sms2').addClass('off');

		$('#delivery_method2').val('app');
		$('#get_offer_now_submit2').removeClass('print');
		$('#get_offer_now_submit2').removeClass('sms');
		$('#get_offer_now_submit2').addClass('app');
	}
}

function add_print_popup_func2() {
	if($('#delivery_method_print2').hasClass('off')) {
		$('#delivery_method_app2').removeClass('on');
		$('#delivery_method_app2').addClass('off');
		$('#delivery_method_print2').removeClass('off');
		$('#delivery_method_print2').addClass('on');
		$('#delivery_method_sms2').removeClass('on');
		$('#delivery_method_sms2').addClass('off');

		$('#delivery_method2').val('print');
		$('#get_offer_now_submit2').removeClass('app');
		$('#get_offer_now_submit2').removeClass('sms');
		$('#get_offer_now_submit2').addClass('print');
	}
}

function add_sms_popup_func2() {
	if($('#delivery_method_sms2').hasClass('off')) {
		$('#delivery_method_app2').removeClass('on');
		$('#delivery_method_app2').addClass('off');
		$('#delivery_method_print2').removeClass('on');
		$('#delivery_method_print2').addClass('off');
		$('#delivery_method_sms2').removeClass('off');
		$('#delivery_method_sms2').addClass('on');

		$('#delivery_method2').val('sms');
		$('#get_offer_now_submit2').removeClass('print');
		$('#get_offer_now_submit2').removeClass('app');
		$('#get_offer_now_submit2').addClass('sms');
	}
}

function update_page_filter_buttons2() {
	
	if(!is_redesign) return;
	
	// Add filter buttons if there id a div with the right id and a search box
	if($('#srch_intxt')) {
	//	update_filter_totals2();
	}

	$('.mobile_filter_button2.active').click(function () {
		if($('#srch_mobile').val() == 1) {
			$('#srch_mobile').val(0);
			$('.mobile_filter_button2').addClass('off');
		} else {
			$('#srch_mobile').val(1);
			$('.mobile_filter_button2').removeClass('off');
		}

		update_page_filtering2();
	});
	  
	$('.print_filter_button2.active').click(function () {
		if($('#srch_print').val() == 1) {
			$('#srch_print').val(0);
			$('.print_filter_button2').addClass('off');
		} else {
			$('#srch_print').val(1);
			$('.print_filter_button2').removeClass('off');
		}

		update_page_filtering2();
	});
	  
	$('.code_filter_button2.active').click(function () {
		if($('#srch_code').val() == 1) {
			$('#srch_code').val(0);
			$('.code_filter_button2').addClass('off');
		} else {
			$('#srch_code').val(1);
			$('.code_filter_button2').removeClass('off');
		}

		update_page_filtering2();
	});
	  
	$('.sms_filter_button2.active').click(function () {
		if($('#srch_sms').val() == 1) {
			$('#srch_sms').val(0);
			$('.sms_filter_button2').addClass('off');
		} else {
			$('#srch_sms').val(1);
			$('.sms_filter_button2').removeClass('off');
		}

		update_page_filtering2();
	});
	  
}

function update_page_filtering2() {
	
	if(!is_redesign) return;
	
	$('.filtered_redes_merchant2').each(function() {
		dont_filterme = 0;

		if(!$('.mobile_filter_button2').hasClass('off') && $(this).hasClass('is_app')) {
			dont_filterme++;
		}

		if(!$('.print_filter_button2').hasClass('off') && $(this).hasClass('is_print')) {
			dont_filterme++;
		}

		if(!$('.code_filter_button2').hasClass('off') && $(this).hasClass('is_code')) {
			dont_filterme++;
		}

		if(!$('.sms_filter_button2').hasClass('off') && $(this).hasClass('is_sms')) {
			dont_filterme++;
		}

		if(dont_filterme == 0) {
			$(this).slideUp(500);
		} else {
			$(this).slideDown(500);
		}
	});
}

function populate_listing_filter_buttons2() {
	
	if(!is_redesign) return;
	
	////console.log(mobile_count2);
	$('.mobile_filter_button2').text(mobile_count2);
	$('.print_filter_button2').text(print_count2);
	$('.code_filter_button2').text(code_count2);
	$('.sms_filter_button2').text(sms_count2);
}

///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
// PUT ALL READY STATEMENTS IN HERE!
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
jQuery(document).ready(function(){
    //search box improved behaviour functions  --------------------------
    //overlay awesome jquery dropdowns
	  
	if(is_redesign == false) {
      	$('#srch_vtype').modmac(138);
      	$('#srch_cat').modmac(171);
      	$('#srch_rad').modmac(113);
      	$('#srch_ordr').modmac(68);
	}
	else
	{
		update_page_filter_buttons();
		update_page_filter_buttons2();
	}

      //bind clearing/reset funcs for srch trm/loc
      $('.srch_txt_in').focus(function(){
                            if( $(this).val() == $WHAT_TXT )
                            {
                                $(this).val('');
                                $(this).removeClass("greyoutxt");
                            }
                            if( $(this).val() == $WHERE_TXT )
                            {
                                $(this).val('');
                                $(this).removeClass("greyoutxt");
                                UnBindAjaxDropdowns();
                                //ShowSrchWhereOpts();
                                BindAjaxDropdowns();
                            }
                    }).blur(function() { 
                        if( $(this).val() == "")
                            {
                                if($(this).attr("id")=="srch_intxt")
                                {
                                    $(this).val( $WHAT_TXT );
                                    $(this).addClass("greyoutxt");
                                }
                                if($(this).attr("id")=="srch_whtxt")
                                {
                                    $(this).val( $WHERE_TXT );
                                    $(this).addClass("greyoutxt");
                                    UnBindAjaxDropdowns();
                                    HideSrchWhereOpts();
                                    BindAjaxDropdowns();
                                }
                            }
                    });	
	  $('.srch_txt_in').keyup(function(){
			ShowSrchWhereOpts();
		});

		if ($('#amazing_local_vouchers').length > 0)
		{
			setTimeout("amazingFrontSwap();", amazing_front_swap_delay);
		}

		$('.srch_txt_in').keydown(function(){
			ShowSrchWhereOpts();
		});
		
		if ($('#tab_box').length > 0)
		{
			$('#tab_box').mouseenter(function(){
				amazing_tab_swap_active = false;
			});
		
		$('	#tab_box').mouseleave(function(){
				amazing_tab_swap_delay = amazing_tab_swap_delay_default;
				resetAmazingTabSwapTimer();
				amazing_tab_swap_active = true;
			});
		
			updateTabBox();
		
			$('#tab_box .tabs a').click(function(){
	
				// Change the delay, so the tab the user clicked stays up for a bit longer...
				amazing_tab_swap_delay = 11000;
	
				$('#tab_box .tabs a').removeClass('active');
				$(this).addClass('active');

				updateTabBox()
			
				return false;
			});

		}


	  	jQuery("a.navigate").click(function(e){
	
		var coma = jQuery(this).attr('href').indexOf(",");
		var hash = jQuery(this).attr('href').indexOf("#");
		if(coma > 1)
		{
		
			var from = unescape(jQuery(this).attr('href').substr( ( hash +1) ,((coma-hash)-1) ));
	
			var to = unescape(jQuery(this).attr('href').substr((coma+1),jQuery(this).attr('href').length ));
			to = to.replace("+"," ");
			from = from.replace("+"," ");
	
			jQuery("#n_to").val(to);
			jQuery("#n_from").val(from);
	
	
			var top = (parseInt(e.pageY)-parseInt(jQuery("#navigate").height()) -5 );
			var left = (parseInt(e.pageX)-130);
			jQuery("#navigate").css({"top":top,"left":left});
			jQuery("#navigate").fadeIn(350);
			jQuery("#navigate").mouseleave(function(){jQuery(this).fadeOut(350)});
			return false;
		}else{
		
			return false;
		}
	});

	jQuery("a.directions").click(function() {
		showMap(jQuery("#n_from").val(), jQuery("#n_to").val() );
		return false;
	});

	jQuery("a.swap").click(function() {
		old_a = ""+jQuery("#n_from").val();
		old_b = ""+jQuery("#n_to").val();

		jQuery("#n_to").val(old_a);
		jQuery("#n_from").val(old_b);
			
		return false;
	});

	jQuery.ajaxSetup({ cache: false, async: true}); // crossDomain: true
	
	if ($.browser.mozilla && $.browser.version.indexOf('1.8.') > -1) {
		$('body').addClass('ff2_fixes');
	}
	
	if ($('#main_search_bar').length > 0)
	{
		if ($('#main_search_bar').hasClass('vc-orange')) $('body').addClass('js_is_orange');
	}
	
	
	if ($('#vco_popup_container').length > 0)
	{
		$('#vco_popup_container').modal({ 
			minHeight : 222, maxHeight : 222, minWidth: 428, maxWidth: 428
			, containerId: 'vco-simplemodal-container'
		});
		$('.vco_close').click(function() { 
			$.modal.close();
			return false;
		});	
	}

	// Signup Popup
	if ($("#signup_popup_placeholder").length > 0)
	{
		initialise_signup_popup();
		$('.register_topnav, .blu_nav_sign_up').click(function(e){
			$('#signup_popup_placeholder').load('/ajax/signupform', function() {
				initialise_signup_popup();
			});
	
			return stop(e);
		});
	}	
	
	// Login Popup
	if ($("#login_popup_placeholder").length > 0)
	{
		//initialise_signup_popup();
		$('.register_topnav, .blu_nav_log_in').click(function(e)
		{
			
				initialise_login_popup();
			
	
			return stop(e);
		});
	}

	/*jQuery('#signup_box_name').focus(function() 
	{
		var instr = jQuery(this).val();
		if (instr==$SIGNUP_NAM)
		{
			jQuery(this).val('');
		}
		jQuery(this).css("color","#000");
	});

	jQuery('#signup_box_name').blur(function() 
	{
		var instr = jQuery(this).val();
		if (instr=='')
		{
			jQuery(this).val($SIGNUP_NAM);
			jQuery(this).css("color","#7C7C7C");
		}
	});
	*/
	
	// Initialise xmas popup
	initialise_xmas_popup(); 
	
	// Adverts!
	if ($("ul#sidebar_adverts").length > 0)
	{
		$("ul#sidebar_adverts").jBanner({height:250,width:300,padding:0,caption:false,speed:0,delay:5000});
		$("ul#sidebar_adverts a").click(function(e){

			//return true; // DON'T PROCESS CLICK

			var banner_id = ($(this).attr('id'))+'_click_url';
			if ($('#'+banner_id).length > 0)
			{
				var url = $('#'+banner_id).attr('value');
				hitCrossDomainUrl(url)

				///////////////////////////
				//if ($DEBUG_MODE) return false;
				///////////////////////////
			}
		});
	}

// debugAlert('C');

	// subnavs!
	$("#blu_nav_bar li .hover_subnav").each(function(i){
		var subnav = $(this);
		var li = $(this).parent();
		var a = li.children('a');
		
		li.hover(function(e) { 
			a.addClass('blu_hover2');
			subnav.css('display', 'block');
		}, function(e) {
			a.removeClass('blu_hover2');
			subnav.css('display', 'none');
		});
	});
	
	/*
	$("#blu_nav_bar li").hover(function(e) { 
		var subnav = $(this).children('.hover_subnav');
		subnav.css('display', 'block');
	}, function(e) {
		alert('out');
	});
	*/
	/////////

	 // debugAlert('D');
	 
    //bind show more search opts btn
    $("#mopt").click(function(e) { ShowSrchOpts(); });

    //bind funcs for Get Voucher Code btns
    //BindGetCodesLinks();
    //BindGetDealsLinks();
    
	// initiate 'get now' offer buttons
	initGetOfferNowButtons();
	
	//clear email addr bx on focus
	jQuery('.newsletter_signup_container form input, #sign_up_box form input').focus(function() {
		var instr = jQuery(this).val();
		if (instr==$SIGNUP_TXT)
		{
			jQuery(this).val('');
		}
		jQuery(this).css("color","#000");
	});

	jQuery('.newsletter_signup_container form input, #sign_up_box form input').blur(function() {
		var instr = jQuery(this).val();
		if (instr=='')
		{
			jQuery(this).val($SIGNUP_TXT);
			jQuery(this).css("color","#7C7C7C");
		}
	});

	// Signup input box for the redesign
	jQuery('#signup_box_email').focus(function() {
		var instr = jQuery(this).val();
		if (instr==$SIGNUP_TXT)
		{
			jQuery(this).val('');
		}
		jQuery(this).css("color","#000");
	});

	jQuery('#signup_box_email').blur(function() {
		var instr = jQuery(this).val();
		if (instr=='')
		{
			jQuery(this).val($SIGNUP_TXT);
			jQuery(this).css("color","#7C7C7C");
		}
	});

	jQuery('#signup_box_name').focus(function() {
		var instr = jQuery(this).val();
		if (instr==$SIGNUP_NAM)
		{
			jQuery(this).val('');
		}
		jQuery(this).css("color","#000");
	});

	jQuery('#signup_box_name').blur(function() {
		var instr = jQuery(this).val();
		if (instr=='')
		{
			jQuery(this).val($SIGNUP_NAM);
			jQuery(this).css("color","#7C7C7C");
		}
	});

     //bind email form btn
    jQuery("#newsletter_signup").submit(function(){
			
			var email = $('#signup_box_email').val();
			var name  = $('#signup_box_name').val();
			valid = 1;
			alert_message = '';

			if (email=="" || email==$SIGNUP_TXT || !isValidEmailAddress(email) ) {
				if(alert_message == '') {
					alert_message = 'Please check the following: Email address';
				} else {
					alert_message = alert_message + ', Email address';
				}
				valid = 0;
			}

			if (name=="" || name==$SIGNUP_NAM) {
				if(alert_message == '') {
					alert_message = 'Please check the following: Your first name';
				} else {
					alert_message = alert_message + ', Your first name';
				}
				valid = 0;
			}

			if(valid == 1) {
				// Add a busy style to the boxout
				$("#newsletter_signup").addClass("ajax_busy ajax_faded");

				// Post the email address
				$.post('/index/newsletter', { signup_box_email: email, signup_box_name: name}, function(data) {
					// Send a thank-you alert. This needs improving!
					$('#newsletter_signup').removeClass("instyle ajax_busy ajax_faded").addClass("thankstyle");
					alert(
						"You're nearly a fully fledged member of the vouchercloud family.\n\n"
						+"Please click the link we've sent you to complete the sign up process."
					);
				});
			} else if(alert_message != '') {
				alert(alert_message);
			}

            return false;
	});

// debugAlert('E');
     //bind email form btn
    jQuery(".newsletter_signup_container form input.submit_btn").click(function(e){
			//get str
			
			var instr = jQuery(this).siblings('input.signup_email').val();
			//var instr=$('.newsletter_signup_container form input#signup_email').val();
			if ( instr=="" || instr==$SIGNUP_TXT || !isValidEmailAddress(instr) )
			{
				alert("Please enter a valid email address");
				return stop(e);
			}
			else
			{
				//busy
				//$(".newsletter_signup_container").addClass("ajax_busy ajax_faded");
				//post to and thank
				$.post('/index/newsletter', { signup_email: instr }, function(data) {
					//thank and chng pic
					alert(
						"You're nearly a fully fledged member of the vouchercloud family.\n\n"
						+"Please click the link we've sent you to complete the sign up process."
					);
				});
				return stop(e);
			}
	});

// debugAlert('E');

       //bind email form btn for sidebox
     jQuery("#sign_up_box form input.submit_btn").click(function(e){
                            //get str
                            var instr=$('#sign_up_box form input#signup_email').val();
                            if( instr=="" || instr==$SIGNUP_TXT || !isValidEmailAddress(instr) )
                            {
                                alert("Please enter a valid email address");
                                return stop(e);
                            }
                            else
                            {
                                //busy
                                $("#sign_up_box").addClass("ajax_busy ajax_faded");
                                //post to and thank
                                $.post('/index/newsletter', { signup_email: instr }, function(data) {
                                                                        //thank and chng pic
                                                                       // $("#sign_up_box input").hide();
                                                                        $('#sign_up_box').removeClass("instyle ajax_busy ajax_faded").addClass("thankstyle");
                                                                        alert(
                                                    						"You're nearly a fully fledged member of the vouchercloud family.\n\n"
                                                    						+"Please click the link we've sent you to complete the sign up process."
                                                    					);
                                                           });
                                return stop(e);
                            }
      }).removeAttr("href");

// debugAlert('F');

                
				
// debugAlert('G');
				
      //if where not set  hide  rad/nearest
      if( $("#srch_whtxt").val() == $WHERE_TXT ) HideSrchWhereOpts();

      
		$('#redes_amazing_search_box, #amazing_search_box, #srch_frm').submit(function(e) {
			if ($('.real_search_results').length > 0) 
			{
				stop(e);
				AjaxSrch( GenSrchUri('rtn') );
				return false;
			}
		});

      //set ajax srch on dropdowns
      BindAjaxDropdowns();
     
      //bind pg links to ajax
      BindAjaxPgLinks();

      //bind more links to ajax
      BindAjaxMoreLinks();
      

      //end srch box behaviour ----------------------------------------------

      //bind blu nav bar rollover
      $("#blu_nav_bar a").mouseenter( function () { $(this).addClass("blu_hover") });
      $("#blu_nav_bar a").mouseleave( function () { $(this).removeClass("blu_hover") });

      //bind readmore
	  
	  $(".spanmore").hide();
	  $(".readmore").show();
									
		$(".readmore").click(function(){
			
			var id = $(this).attr('id').replace('readmore-', '').replace('hidemore-', '');

			$('#spanmore-'+id).slideDown(350, function callback(){
				$('#hidemore-'+id).show();
				$('#readmore-'+id).hide();

			});
			
			return false;
		});
		
		$(".hidemore").click(function(){
									   
			var id = $(this).attr('id').replace('readmore-', '').replace('hidemore-', '');
							
   			$('#spanmore-'+id).slideUp(350, function callback(){
				$('#hidemore-'+id).hide();
				$('#readmore-'+id).show();
			});
			
			return false;
		});

//debugAlert('I');
	
	jQuery('#loginbox-container-dynamic').css('display', 'block');
	jQuery('#loginform').slideUp(0);
		
	/*jQuery(".blu_nav_log_in").click(function(){
		jQuery("#loginform").slideDown(600);

		return false;
	});*/

	jQuery("#loginbox_close").click(function(){
		jQuery('#loginform').slideUp(600);
		return false;
	});

	
	
	// Initialise show/hide text boxes - Version 1
	$('.long_text').css('display', 'none');
	$('#intro_text_button').text('more...');
	$('#intro_text_button').css('display', 'inline');

	// Initialise show/hide text boxes - Version 2
	$(".expanding_text_more_link").each(function() {
		var prev = $(this).siblings('.more');
		prev.fadeOut('fast');
		$(this).text(' more...');
		$(this).css('display', 'inline');
	});
	
	// Add show/hide to category flavour text
	$('#intro_text_button').click(function() {
		state = $('.long_text').css('display');
		if(state == 'none') {
			$('.long_text').css('display', 'inline');
			$('#intro_text_button').text('less...');
		} else {
			$('.long_text').css('display', 'none');
			$('#intro_text_button').text('more...');
		}
	});

	$(".expanding_text_more_link").click(function() {
		//console.log('start');
		//console.log(this);
		//var prev = $(this).prev();
		var prev = $(this).siblings('.more');
		//console.log(this);
		//console.log("prev" + prev);
		state = prev.css('display');
		if(state == 'none') {
			//prev.css('display', 'inline');
			prev.fadeIn('slow');
			$(this).text('  less...');
		} else {
			//prev.css('display', 'none');
			prev.fadeOut('slow');
			$(this).text(' more...');
		}
	});

	if(is_redesign == false) {
		if ($('#jcarousel_offset').length > 0)
		{
			var jcarousel_offset = parseInt($('#jcarousel_offset').val());
		
			jQuery('#cat_top_nav ul').jcarousel({
				// Configuration goes here
				//wrap: 'both' 
				wrap: 'circular', 
				start: (jcarousel_offset+1)
				//, start: 3
				//, offset: 5
				//, itemFallbackDimension: 70
			});
		}
	} else {
		if ($('#jcarousel_offset').length > 0)
		{
			var jcarousel_offset = parseInt($('#jcarousel_offset').val());
			if(jcarousel_offset < 16) {
				jcarousel_offset = 0;
			}
		
			jQuery('#redes_category-buttons-container').jcarousel({
				// Configuration goes here
				start: jcarousel_offset,
				buttonNextHTML: '<div id="redes_next-button"></div>',
				buttonPrevHTML: '<div id="redes_prev-button"></div>'
			});
		}
	}



	// Get-around for autocomplete not being defined in XHTML
	var inputElement = document.getElementById("srch_intxt")
	if (inputElement != null)
	{
	   	inputElement.setAttribute("autocomplete", "off");
		inputElement = document.getElementById("srch_whtxt");
	   	inputElement.setAttribute("autocomplete", "off");
	}

	// trigger function for the type filter
	$('#sort_by').change(function() {
		val = $('#sort_by').val();
		$('#srch_ordr_2011').val(val);
		//$('#redes_amazing_search_box').submit();
		AjaxSrch( GenSrchUri('rtn') );
	});
			
	// trigger function for the distance filter
	$('#search_radius').change(function() {
		val = $('#search_radius').val();
		$('#srch_rad').val(val);
		//$('#redes_amazing_search_box').submit();
		AjaxSrch( GenSrchUri('rtn') );
	});

	// Make sure the filter totals are up to date
	if($('#mobile_filter_button')) {
		populate_listing_filter_buttons();
		populate_listing_filter_buttons2();
	} else {
		//console.log('here');
		update_page_filter_buttons();
	}
	
	if ($('#allow_autocomplete').length > 0 && $('#allow_autocomplete').val() == 1)
	{
		var autocomplete_url = '/ajax/predictive';
		if ($('#srch_channel').length > 0)
		{
			autocomplete_url += '?channel='+$('#srch_channel').val();
		}
		
		//alert(autocomplete_url);
		
		// Auto complete
		$("#srch_intxt").autocomplete({

			/*

			// 
			matchInside: true,
			
			autoFill: false,
			filterResults: true,
			sortResults: true,
			sortFunction: false,
*/

			url: autocomplete_url,
			delay: 0,
			useCache: true,
			// cacheLength: 1, // nada
			maxCacheLength: 20,
			matchSubset: 1,
			// matchContains: 0, - nada
			maxItemsToShow: 15,
			minChars: 1,
			matchInside: false,
			mustMatch: false,
			highlight: true,
			doubleEnter: false,


			onItemSelect: function(args) {
				// Go straight to merc page
			
				//ALLOW_MERCHANT_SLUGS
				////console.log('ARGS:', args);
				////console.log('DATA[0]:', args.data[0]);
				
				if (args.data[0]) var url = '/redirect/merchant/'+args.data[0];
				else var url = '/'+VC_normalize(args.value)+'-discount-voucher-codes';
				
				//alert(url);
				window.location = url;
				
				stop();
				return false;
				
				// - or - Search for selected string
				//$("#srch_intxt").closest("form").submit();
			}


			/*
			, onNoMatch: function() {
				//alert('no match!');
			}
			*/
		});
	}
	
	VC_checkForUrlHash();
	setInterval('VC_checkForUrlHash();', 2000);
	
	/*
		Don't add anything below these 2!
	*/
	//$.preloadCssImages();
	SendEventsInfo(false);
	/*
		One of the 2 functions above must be causing JS to fail in IE - so anything here will not be executed!
	*/
});

