"),pt.close()),t=pt.body.appendChild(pt.createElement(e)),n=rt(t,"display"),Fe.body.removeChild(lt)),(vt[e]=n,n)}function ve(t,n,a,o){if(Pe.isArray(n))Pe.each(n,function(n,s){a||Et.test(t)?o(t,s):ve(t+"["+("object"==typeof s?n:"")+"]",s,a,o)});else if(!a&&"object"===Pe.type(n))for(var s in n)ve(t+"["+s+"]",n[s],a,o);else o(t,n)}function Te(t){return function(n,a){"string"!=typeof n&&(a=n,n="*");var o,s,r,l=n.toLowerCase().split(Ie),p=0,u=l.length;if(Pe.isFunction(a))for(;po&&0?a:(l.resolveWith(t,[i]),!1)},i=l.promise({elem:t,props:Pe.extend({},n),opts:Pe.extend(!0,{specialEasing:{}},a),originalProperties:n,originalOptions:a,startTime:Gt||je(),duration:a.duration,tweens:[],createTween:function(n,a){var o=Pe.Tween(t,i.opts,n,a,i.opts.specialEasing[n]||i.opts.easing);return i.tweens.push(o),o},stop:function(e){for(var n=0,a=e?i.tweens.length:0;ns;s+=2-n)a=wt[s],o["margin"+a]=o["padding"+a]=t;return n&&(o.opacity=o.width=t),o}function _e(e){return Pe.isWindow(e)?e:!(9!==e.nodeType)&&(e.defaultView||e.parentWindow)}var qe,Be,Fe=ee.document,e=ee.location,f=ee.navigator,g=ee.jQuery,h=ee.$,i=Array.prototype.push,We=Array.prototype.slice,k=Array.prototype.indexOf,l=Object.prototype.toString,m=Object.prototype.hasOwnProperty,n=String.prototype.trim,Pe=function(e,t){return new Pe.fn.init(e,t,qe)},o=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,p=/\S/,Ie=/\s+/,s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,r=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,u=/^[\],:{}\s]*$/,v=/(?:^|:|,)(?:\s*\[)+/g,x=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,y=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,w=/^-ms-/,j=/-([\da-z])/gi,A=function(e,t){return(t+"").toUpperCase()},C=function(){Fe.addEventListener?(Fe.removeEventListener("DOMContentLoaded",C,!1),Pe.ready()):"complete"===Fe.readyState&&(Fe.detachEvent("onreadystatechange",C),Pe.ready())},D={};Pe.fn=Pe.prototype={constructor:Pe,init:function(e,n,o){var s,d,l;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(s="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:t.exec(e),s&&(s[1]||!n)){if(s[1])return n=n instanceof Pe?n[0]:n,l=n&&n.nodeType?n.ownerDocument||n:Fe,e=Pe.parseHTML(s[1],l,!0),r.test(s[1])&&Pe.isPlainObject(n)&&this.attr.call(e,n,!0),Pe.merge(this,e);if(d=Fe.getElementById(s[2]),d&&d.parentNode){if(d.id!==s[2])return o.find(e);this.length=1,this[0]=d}return this.context=Fe,this.selector=e,this}return!n||n.jquery?(n||o).find(e):this.constructor(n).find(e)}return Pe.isFunction(e)?o.ready(e):(e.selector!==te&&(this.selector=e.selector,this.context=e.context),Pe.makeArray(e,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return We.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,n){var a=Pe.merge(this.constructor(),e);return a.prevObject=this,a.context=this.context,"find"===t?a.selector=this.selector+(this.selector?" ":"")+n:t&&(a.selector=this.selector+"."+t+"("+n+")"),a},each:function(e,t){return Pe.each(this,e,t)},ready:function(e){return Pe.ready.promise().done(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(We.apply(this,arguments),"slice",We.call(arguments).join(","))},map:function(e){return this.pushStack(Pe.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:i,sort:[].sort,splice:[].splice},Pe.fn.init.prototype=Pe.fn,Pe.extend=Pe.fn.extend=function(){var t,n,o,s,r,l,p=arguments[0]||{},u=1,m=arguments.length,y=!1;for("boolean"==typeof p&&(y=p,p=arguments[1]||{},u=2),"object"==typeof p||Pe.isFunction(p)||(p={}),m===u&&(p=this,--u);un?Math.max(0,a+n):n:0;n
          a",t=T.getElementsByTagName("*"),a=T.getElementsByTagName("a")[0],a.style.cssText="top:1px;float:left;opacity:.5",!t||!t.length)return{};o=Fe.createElement("select"),s=o.appendChild(Fe.createElement("option")),r=T.getElementsByTagName("input")[0],e={leadingWhitespace:3===T.firstChild.nodeType,tbody:!T.getElementsByTagName("tbody").length,htmlSerialize:!!T.getElementsByTagName("link").length,style:/top/.test(a.getAttribute("style")),hrefNormalized:"/a"===a.getAttribute("href"),opacity:/^0.5/.test(a.style.opacity),cssFloat:!!a.style.cssFloat,checkOn:"on"===r.value,optSelected:s.selected,getSetAttribute:"t"!==T.className,enctype:!!Fe.createElement("form").enctype,html5Clone:"<:nav>"!==Fe.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===Fe.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},r.checked=!0,e.noCloneChecked=r.cloneNode(!0).checked,o.disabled=!0,e.optDisabled=!s.disabled;try{delete T.test}catch(t){e.deleteExpando=!1}if(!T.addEventListener&&T.attachEvent&&T.fireEvent&&(T.attachEvent("onclick",v=function(){e.noCloneEvent=!1}),T.cloneNode(!0).fireEvent("onclick"),T.detachEvent("onclick",v)),r=Fe.createElement("input"),r.value="t",r.setAttribute("type","radio"),e.radioValue="t"===r.value,r.setAttribute("checked","checked"),r.setAttribute("name","t"),T.appendChild(r),p=Fe.createDocumentFragment(),p.appendChild(T.lastChild),e.checkClone=p.cloneNode(!0).cloneNode(!0).lastChild.checked,e.appendChecked=r.checked,p.removeChild(r),p.appendChild(T),T.attachEvent)for(y in{submit:!0,change:!0,focusin:!0})u="on"+y,x=u in T,x||(T.setAttribute(u,"return;"),x="function"==typeof T[u]),e[y+"Bubbles"]=x;return Pe(function(){var t,n,a,o,s=Fe.getElementsByTagName("body")[0];s&&(t=Fe.createElement("div"),t.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(t,s.firstChild),n=Fe.createElement("div"),t.appendChild(n),n.innerHTML="
          t
          ",a=n.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",x=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",e.reliableHiddenOffsets=x&&0===a[0].offsetHeight,n.innerHTML="",n.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",e.boxSizing=4===n.offsetWidth,e.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,ee.getComputedStyle&&(e.pixelPosition="1%"!==(ee.getComputedStyle(n,null)||{}).top,e.boxSizingReliable="4px"===(ee.getComputedStyle(n,null)||{width:"4px"}).width,o=Fe.createElement("div"),o.style.cssText=n.style.cssText="padding:0;margin:0;border:0;display:block;overflow:hidden;",o.style.marginRight=o.style.width="0",n.style.width="1px",n.appendChild(o),e.reliableMarginRight=!parseFloat((ee.getComputedStyle(o,null)||{}).marginRight)),"undefined"!=typeof n.style.zoom&&(n.innerHTML="",n.style.cssText="padding:0;margin:0;border:0;display:block;overflow:hidden;width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===n.offsetWidth,n.style.display="block",n.style.overflow="visible",n.innerHTML="
          ",n.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==n.offsetWidth,t.style.zoom=1),s.removeChild(t),t=n=a=o=null)}),p.removeChild(T),t=a=o=s=r=p=T=null,e}();var q=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,H=/([A-Z])/g;Pe.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(Pe.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?Pe.cache[e[Pe.expando]]:e[Pe.expando],!!e&&!J(e)},data:function(t,n,a,o){if(Pe.acceptData(t)){var e,s,d=Pe.expando,r="string"==typeof n,i=t.nodeType,p=i?Pe.cache:t,c=i?t[d]:t[d]&&d;if(c&&p[c]&&(o||p[c].data)||!r||a!==te)return c||(i?t[d]=c=Pe.deletedIds.pop()||Pe.guid++:c=d),p[c]||(p[c]={},i||(p[c].toJSON=Pe.noop)),("object"==typeof n||"function"==typeof n)&&(o?p[c]=Pe.extend(p[c],n):p[c].data=Pe.extend(p[c].data,n)),(e=p[c],o||(e.data||(e.data={}),e=e.data),a!==te&&(e[Pe.camelCase(n)]=a),r?(s=e[n],null==s&&(s=e[Pe.camelCase(n)])):s=e,s)}},removeData:function(t,n,a){if(Pe.acceptData(t)){var o,s,r,l=t.nodeType,p=l?Pe.cache:t,c=l?t[Pe.expando]:Pe.expando;if(p[c]){if(n&&(o=a?p[c]:p[c].data,o)){for(Pe.isArray(n)||((n in o)?n=[n]:(n=Pe.camelCase(n),n=(n in o)?[n]:n.split(" "))),s=0,r=n.length;sr)return null;for(a=u?r:0,o=u?r+1:p.length;ao&&t.push({elem:this,matches:C.slice(o)}),a=0;a+~])[\x20\t\r\n\f]*/,N=/:((?:\\.|[-\w]|[^\x00-\xa0])+)(?:\((?:(['"])((?:\\.|[^\\])*?)\2|([^()[\]]*|(?:(?:\[[\x20\t\r\n\f]*((?:\\.|[-\w]|[^\x00-\xa0])+)[\x20\t\r\n\f]*(?:([*^$|!~]?=)[\x20\t\r\n\f]*(?:(['"])((?:\\.|[^\\])*?)\3|((?:\\.|[-\w#]|[^\x00-\xa0])+)|)|)[\x20\t\r\n\f]*\])|[^:]|\\.)*|.*))\)|)/,O=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,P=/^:not/,Q=/[\x20\t\r\n\f]*[+~]/,R=/:not\($/,S=/h\d/i,T=/input|select|textarea|button/i,U=/\\(?!\\)/g,V={ID:/^#((?:\\.|[-\w]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[-\w]|[^\x00-\xa0])+)/,NAME:/^\[name=['"]?((?:\\.|[-\w]|[^\x00-\xa0])+)['"]?\]/,TAG:new RegExp("^("+"(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+".replace("w","w*")+")"),ATTR:/^\[[\x20\t\r\n\f]*((?:\\.|[-\w]|[^\x00-\xa0])+)[\x20\t\r\n\f]*(?:([*^$|!~]?=)[\x20\t\r\n\f]*(?:(['"])((?:\\.|[^\\])*?)\3|((?:\\.|[-\w#]|[^\x00-\xa0])+)|)|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\.|[-\w]|[^\x00-\xa0])+)(?:\((?:(['"])((?:\\.|[^\\])*?)\2|([^()[\]]*|(?:(?:\[[\x20\t\r\n\f]*((?:\\.|[-\w]|[^\x00-\xa0])+)[\x20\t\r\n\f]*(?:([*^$|!~]?=)[\x20\t\r\n\f]*(?:(['"])((?:\\.|[^\\])*?)\3|((?:\\.|[-\w#]|[^\x00-\xa0])+)|)|)[\x20\t\r\n\f]*\])|[^:]|\\.)*|.*))\)|)/,POS:/:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i,CHILD:/^:(only|nth|first|last)-child(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},W=function(e){var t=q.createElement("div");try{return e(t)}catch(e){return!1}finally{t=null}},X=W(function(e){return e.appendChild(q.createComment("")),!e.getElementsByTagName("*").length}),Y=W(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&"#"===e.firstChild.getAttribute("href")}),Z=W(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!=t&&"string"!==t}),$=W(function(e){return e.innerHTML="",!!(e.getElementsByClassName&&e.getElementsByClassName("e").length)&&(e.lastChild.className="e",2===e.getElementsByClassName("e").length)}),_=W(function(e){e.id=be+0,e.innerHTML="
          ",r.insertBefore(e,r.firstChild);var t=q.getElementsByName&&q.getElementsByName(be).length===2+q.getElementsByName(be+0).length;return re=!q.getElementById(be),r.removeChild(e),t});try{w.call(r.childNodes,0)[0].nodeType}catch(e){w=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}E.matches=function(e,t){return E(e,null,null,t)},E.matchesSelector=function(e,t){return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(U,""),e[3]=(e[4]||e[5]||"").replace(U,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||E.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&E.error(e[0]),e},PSEUDO:function(e){var t,n;return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[3]:(t=e[4])&&(N.test(t)&&(n=I(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t),e.slice(0,3))}},filter:{ID:re?function(e){return e=e.replace(U,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(U,""),function(t){var n=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(U,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=A[be][e];return t||(t=A(e,new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+"[\\x20\\t\\r\\n\\f]"+"|$)"))),function(e){return t.test(e.className||typeof e.getAttribute!=="undefined"&&e.getAttribute("class")||"")}},ATTR:function(e,t,n){return function(a){var o=E.attr(a,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&-1n?n+t:n]}),even:H(function(e,t){for(var n=0;nn?n+t:n;0<=--a;)e.push(a);return e}),gt:H(function(e,t,n){for(var a=0>n?n+t:n;++a",e.querySelectorAll("[selected]").length||p.push("\\[[\\x20\\t\\r\\n\\f]*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||p.push(":checked")}),W(function(e){e.innerHTML="

          ",e.querySelectorAll("[test^='']").length&&p.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||p.push(":enabled",":disabled")}),p=new RegExp(p.join("|")),se=function(e,t,a,s,d){if(!s&&!d&&(!p||!p.test(e))){var r,c,u=!0,f=be,g=t,h=9===t.nodeType&&e;if(1===t.nodeType&&"object"!==t.nodeName.toLowerCase()){for(r=I(e),(u=t.getAttribute("id"))?f=u.replace(n,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",c=r.length;c--;)r[c]=f+r[c].join("");g=Q.test(e)&&t.parentNode||t,h=r.join(",")}if(h)try{return v.apply(a,w.call(g.querySelectorAll(h),0)),a}catch(e){}finally{u||t.removeAttribute("id")}}return o(e,t,a,s,d)},l&&(W(function(e){t=l.call(e,"div");try{l.call(e,"[test!='']:sizzle"),d.push("!=",":((?:\\\\.|[-\\w]|[^\\x00-\\xa0])+)(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[-\\w]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[-\\w#]|[^\\x00-\\xa0])+)|)|)[\\x20\\t\\r\\n\\f]*\\])|[^:]|\\\\.)*|.*))\\)|)")}catch(e){}}),d=new RegExp(d.join("|")),E.matchesSelector=function(e,n){if(n=n.replace(s,"='$1']"),!ce(e)&&!d.test(n)&&(!p||!p.test(n)))try{var a=l.call(e,n);if(a||t||e.document&&11!==e.document.nodeType)return a}catch(e){}return 0/gi,Ye=/<([\w:]+)/,Ge=/]/i,tt=/^(?:checkbox|radio)$/,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/\/(java|ecma)script/i,ot=/^\s*\s*$/g,st={option:[1,""],legend:[1,"
          ","
          "],thead:[1,"","
          "],tr:[2,"","
          "],td:[3,"","
          "],col:[2,"","
          "],area:[1,"",""],_default:[0,"",""]},it=a(Fe),dt=it.appendChild(Fe.createElement("div"));st.optgroup=st.option,st.tbody=st.tfoot=st.colgroup=st.caption=st.thead,st.th=st.td,Pe.support.htmlSerialize||(st._default=[1,"X
          ","
          "]),Pe.fn.extend({text:function(e){return Pe.access(this,function(e){return e===te?Pe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Fe).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(Pe.isFunction(e))return this.each(function(t){Pe(this).wrapAll(e.call(this,t))});if(this[0]){var t=Pe(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return Pe.isFunction(e)?this.each(function(t){Pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Pe.isFunction(e);return this.each(function(n){Pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Pe.nodeName(this,"body")||Pe(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ae(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=Pe.clean(arguments);return this.pushStack(Pe.merge(e,this),"before",this.selector)}},after:function(){if(!ae(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=Pe.clean(arguments);return this.pushStack(Pe.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,a=0;null!=(n=this[a]);a++)(!e||Pe.filter(e,[n]).length)&&(t||1!==n.nodeType||(Pe.cleanData(n.getElementsByTagName("*")),Pe.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&Pe.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Pe.clone(this,e,t)})},html:function(e){return Pe.access(this,function(t){var n=this[0]||{},o=0,s=this.length;if(t===te)return 1===n.nodeType?n.innerHTML.replace(Ue,""):te;if("string"==typeof t&&!Ke.test(t)&&(Pe.support.htmlSerialize||!et.test(t))&&(Pe.support.leadingWhitespace||!Je.test(t))&&!st[(Ye.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Ve,"<$1>");try{for(;od.length&&t===Fe&&"<"===d.charAt(0)&&!Ze.test(d)&&(Pe.support.checkClone||!nt.test(d))&&(Pe.support.html5Clone||!et.test(d))&&(o=!0,a=Pe.fragments[d],s=a!==te),a||(a=t.createDocumentFragment(),Pe.clean(e,t,a,n),o&&(Pe.fragments[d]=s&&a)),{fragment:a,cacheable:o}},Pe.fragments={},Pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){Pe.fn[t]=function(a){var o,s=0,r=[],l=Pe(a),p=l.length,c=1===this.length&&this[0].parentNode;if((null==c||c&&11===c.nodeType&&1===c.childNodes.length)&&1===p)return l[n](this[0]),this;for(;s")?r=t.cloneNode(!0):(dt.innerHTML=t.outerHTML,dt.removeChild(r=dt.firstChild)),(!Pe.support.noCloneEvent||!Pe.support.noCloneChecked)&&(1===t.nodeType||11===t.nodeType)&&!Pe.isXMLDoc(t))for(re(t,r),o=le(t),s=le(r),i=0;o[i];++i)s[i]&&re(o[i],s[i]);if(n&&(de(t,r),a))for(o=le(t),s=le(r),i=0;o[i];++i)de(o[i],s[i]);return o=s=null,r},clean:function(e,o,p,c){var d,u,y,x,v,T,N,w,C,S,E,A=o===Fe&&it,L=[];for(o&&"undefined"!=typeof o.createDocumentFragment||(o=Fe),d=0;null!=(y=e[d]);d++)if("number"==typeof y&&(y+=""),y){if("string"==typeof y)if(!Qe.test(y))y=o.createTextNode(y);else{for(A=A||a(o),N=o.createElement("div"),A.appendChild(N),y=y.replace(Ve,"<$1>"),x=(Ye.exec(y)||["",""])[1].toLowerCase(),v=st[x]||st._default,T=v[0],N.innerHTML=v[1]+y+v[2];T--;)N=N.lastChild;if(!Pe.support.tbody)for(w=Ge.test(y),C="table"!==x||w?""!==v[1]||w?[]:N.childNodes:N.firstChild&&N.firstChild.childNodes,u=C.length-1;0<=u;--u)Pe.nodeName(C[u],"tbody")&&!C[u].childNodes.length&&C[u].parentNode.removeChild(C[u]);!Pe.support.leadingWhitespace&&Je.test(y)&&N.insertBefore(o.createTextNode(Je.exec(y)[0]),N.firstChild),y=N.childNodes,N.parentNode.removeChild(N)}y.nodeType?L.push(y):Pe.merge(L,y)}if(N&&(y=N=A=null),!Pe.support.appendChecked)for(d=0;null!=(y=L[d]);d++)Pe.nodeName(y,"input")?pe(y):"undefined"!=typeof y.getElementsByTagName&&Pe.grep(y.getElementsByTagName("input"),pe);if(p)for(S=function(e){if(!e.type||at.test(e.type))return c?c.push(e.parentNode?e.parentNode.removeChild(e):e):p.appendChild(e)},d=0;null!=(y=L[d]);d++)Pe.nodeName(y,"script")&&S(y)||(p.appendChild(y),"undefined"!=typeof y.getElementsByTagName&&(E=Pe.grep(Pe.merge([],y.getElementsByTagName("script")),S),L.splice.apply(L,[d+1,0].concat(E)),d+=E.length));return L},cleanData:function(t,n){for(var a,o,s,r,l=0,p=Pe.expando,u=Pe.cache,i=Pe.support.deleteExpando,h=Pe.event.special;null!=(s=t[l]);l++)if((n||Pe.acceptData(s))&&(o=s[p],a=o&&u[o],a)){if(a.events)for(r in a.events)h[r]?Pe.event.remove(s,r):Pe.removeEvent(s,r,a.handle);u[o]&&(delete u[o],i?delete s[p]:s.removeAttribute?s.removeAttribute(p):s[p]=null,Pe.deletedIds.push(o))}}}),function(){var e,t;Pe.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=Pe.uaMatch(f.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),Pe.browser=t,Pe.sub=function(){function e(t,n){return new e.fn.init(t,n)}Pe.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function n(n,a){return a&&a instanceof Pe&&!(a instanceof e)&&(a=e(a)),Pe.fn.init.call(this,n,a,t)},e.fn.init.prototype=e.fn;var t=e(Fe);return e}}();var rt,lt,pt,ut=/alpha\([^)]*\)/i,ft=/opacity=([^)]*)/,gt=/^(top|right|bottom|left)$/,ht=/^(none|table(?!-c[ea]).+)/,mt=/^margin/,yt=new RegExp("^("+o+")(.*)$","i"),bt=new RegExp("^("+o+")(?!px)[a-z%]+$","i"),xt=new RegExp("^([-+])=("+o+")","i"),vt={},Tt={position:"absolute",visibility:"hidden",display:"block"},Nt={letterSpacing:0,fontWeight:400},wt=["Top","Right","Bottom","Left"],Ct=["Webkit","O","Moz","ms"],kt=Pe.fn.toggle;Pe.fn.extend({css:function(e,t){return Pe.access(this,function(e,t,n){return n===te?Pe.css(e,t):Pe.style(e,t,n)},e,t,1o;o++)e[t+wt[o]+n]=s[o]||s[o-2]||s[0];return e}},mt.test(t)||(Pe.cssHooks[t+n].set=he)});var St=/%20/g,Et=/\[\]$/,ce=/\r?\n/g,jt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,At=/^(?:select|textarea)/i;Pe.fn.extend({serialize:function(){return Pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Pe.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||At.test(this.nodeName)||jt.test(this.type))}).map(function(e,t){var n=Pe(this).val();return null==n?null:Pe.isArray(n)?Pe.map(n,function(e){return{name:t.name,value:e.replace(ce,"\r\n")}}):{name:t.name,value:n.replace(ce,"\r\n")}}).get()}}),Pe.param=function(t,n){var a,o=[],e=function(e,t){t=Pe.isFunction(t)?t():null==t?"":t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===te&&(n=Pe.ajaxSettings&&Pe.ajaxSettings.traditional),Pe.isArray(t)||t.jquery&&!Pe.isPlainObject(t))Pe.each(t,function(){e(this.name,this.value)});else for(a in t)ve(a,t[a],n,e);return o.join("&").replace(St,"+")};var Lt,Dt,Ht=/#.*$/,Mt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Ot=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,_t=/^(?:GET|HEAD)$/,qt=/^\/\//,Bt=/\?/,Ft=/)<[^<]*)*<\/script>/gi,Wt=/([?&])_=[^&]*/,Pt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ct=Pe.fn.load,It={},zt={};try{Dt=e.href}catch(e){Dt=Fe.createElement("a"),Dt.href="",Dt=Dt.href}Lt=Pt.exec(Dt.toLowerCase())||[],Pe.fn.load=function(t,n,o){if("string"!=typeof t&&ct)return ct.apply(this,arguments);if(!this.length)return this;var s,r,l,p=this,u=t.indexOf(" ");return 0<=u&&(s=t.slice(u,t.length),t=t.slice(0,u)),Pe.isFunction(n)?(o=n,n=te):n&&"object"==typeof n&&(r="POST"),Pe.ajax({url:t,type:r,dataType:"html",data:n,complete:function(e,t){o&&p.each(o,l||[e.responseText,t,e])}}).done(function(e){l=arguments,p.html(s?Pe("
          ").append(e.replace(Ft,"")).find(s):e)}),this},Pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Pe.fn[t]=function(e){return this.on(t,e)}}),Pe.each(["get","post"],function(e,t){Pe[t]=function(n,a,o,s){return Pe.isFunction(a)&&(s=s||o,o=a,a=te),Pe.ajax({type:t,url:n,data:a,success:o,dataType:s})}}),Pe.extend({getScript:function(e,t){return Pe.get(e,te,t,"script")},getJSON:function(e,t,n){return Pe.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?we(e,Pe.ajaxSettings):(t=e,e=Pe.ajaxSettings),we(e,t),e},ajaxSettings:{url:Dt,isLocal:Ot.test(Lt[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":ee.String,"text html":!0,"text json":Pe.parseJSON,"text xml":Pe.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Te(It),ajaxTransport:Te(zt),ajax:function(s,p){function b(e,d,r,p){var i,c,f,g,h,b=d;2===_||(_=2,S&&clearTimeout(S),C=te,N=p||"",q.readyState=0e||304===e?(H.ifModified&&(h=q.getResponseHeader("Last-Modified"),h&&(Pe.lastModified[T]=h),h=q.getResponseHeader("Etag"),h&&(Pe.etag[T]=h)),304===e?(b="notmodified",i=!0):(i=ke(H,g),b=i.state,c=i.data,f=i.error,i=!f)):(f=b,(!b||e)&&(b="error",0>e&&(e=0))),q.status=e,q.statusText=(d||b)+"",i?n.resolveWith(l,[c,b,q]):n.rejectWith(l,[q,b,f]),q.statusCode(M),M=te,L&&m.trigger("ajax"+(i?"Success":"Error"),[q,H,i?c:f]),o.fireWith(l,[q,b]),L&&(m.trigger("ajaxComplete",[q,H]),--Pe.active||Pe.event.trigger("ajaxStop")))}"object"==typeof s&&(p=s,s=te),p=p||{};var T,N,y,C,S,E,L,D,H=Pe.ajaxSetup({},p),l=H.context||H,m=l!==H&&(l.nodeType||l instanceof Pe)?Pe(l):Pe.event,n=Pe.Deferred(),o=Pe.Callbacks("once memory"),M=H.statusCode||{},O={},t={},_=0,u="canceled",q={readyState:0,setRequestHeader:function(e,n){if(!_){var o=e.toLowerCase();e=t[o]=t[o]||e,O[e]=n}return this},getAllResponseHeaders:function(){return 2===_?N:null},getResponseHeader:function(e){var t;if(2===_){if(!y)for(y={};t=Mt.exec(N);)y[t[1].toLowerCase()]=t[2];t=y[e.toLowerCase()]}return t===te?null:t},overrideMimeType:function(e){return _||(H.mimeType=e),this},abort:function(e){return e=e||u,C&&C.abort(e),b(0,e),this}};if(n.promise(q),q.success=q.done,q.error=q.fail,q.complete=o.add,q.statusCode=function(e){if(e){if(2>_)for(var t in e)M[t]=[M[t],e[t]];else t=e[q.status],q.always(t)}return this},H.url=((s||H.url)+"").replace(Ht,"").replace(qt,Lt[1]+"//"),H.dataTypes=Pe.trim(H.dataType||"*").toLowerCase().split(Ie),null==H.crossDomain&&(E=Pt.exec(H.url.toLowerCase())||!1,H.crossDomain=E&&E.join(":")+(E[3]?"":"http:"===E[1]?80:443)!==Lt.join(":")+(Lt[3]?"":"http:"===Lt[1]?80:443)),H.data&&H.processData&&"string"!=typeof H.data&&(H.data=Pe.param(H.data,H.traditional)),Ne(It,H,p,q),2==_)return q;if(L=H.global,H.type=H.type.toUpperCase(),H.hasContent=!_t.test(H.type),L&&0==Pe.active++&&Pe.event.trigger("ajaxStart"),!H.hasContent&&(H.data&&(H.url+=(Bt.test(H.url)?"&":"?")+H.data,delete H.data),T=H.url,!1===H.cache)){var x=Pe.now(),B=H.url.replace(Wt,"$1_="+x);H.url=B+(B===H.url?(Bt.test(H.url)?"&":"?")+"_="+x:"")}for(D in(H.data&&H.hasContent&&!1!==H.contentType||p.contentType)&&q.setRequestHeader("Content-Type",H.contentType),H.ifModified&&(T=T||H.url,Pe.lastModified[T]&&q.setRequestHeader("If-Modified-Since",Pe.lastModified[T]),Pe.etag[T]&&q.setRequestHeader("If-None-Match",Pe.etag[T])),q.setRequestHeader("Accept",H.dataTypes[0]&&H.accepts[H.dataTypes[0]]?H.accepts[H.dataTypes[0]]+("*"===H.dataTypes[0]?"":", */*; q=0.01"):H.accepts["*"]),H.headers)q.setRequestHeader(D,H.headers[D]);if(!H.beforeSend||!1!==H.beforeSend.call(l,q,H)&&2!==_){for(D in u="abort",{success:1,error:1,complete:1})q[D](H[D]);if(C=Ne(zt,H,p,q),!C)b(-1,"No Transport");else{q.readyState=1,L&&m.trigger("ajaxSend",[q,H]),H.async&&0_)b(-1,e);else throw e}}return q}return q.abort()},active:0,lastModified:{},etag:{}});var Rt=[],Xt=/\?/,$t=/(=)\?(?=&|$)|\?\?/,Ut=Pe.now();Pe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Rt.pop()||Pe.expando+"_"+Ut++;return this[e]=!0,e}}),Pe.ajaxPrefilter("json jsonp",function(t,n,a){var e,o,s,d=t.data,i=t.url,r=!1!==t.jsonp,p=r&&$t.test(i),l=r&&!p&&"string"==typeof d&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(d);if("jsonp"===t.dataTypes[0]||p||l)return e=t.jsonpCallback=Pe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o=ee[e],p?t.url=i.replace($t,"$1"+e):l?t.data=d.replace($t,"$1"+e):r&&(t.url+=(Xt.test(i)?"&":"?")+t.jsonp+"="+e),t.converters["script json"]=function(){return s||Pe.error(e+" was not called"),s[0]},t.dataTypes[0]="json",ee[e]=function(){s=arguments},a.always(function(){ee[e]=o,t[e]&&(t.jsonpCallback=n.jsonpCallback,Rt.push(e)),s&&Pe.isFunction(o)&&o(s[0]),s=o=te}),"script"}),Pe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return Pe.globalEval(e),e}}}),Pe.ajaxPrefilter("script",function(e){e.cache===te&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Pe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=Fe.head||Fe.getElementsByTagName("head")[0]||Fe.documentElement;return{send:function(a,o){t=Fe.createElement("script"),t.async="async",e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(s,a){(a||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,n&&t.parentNode&&n.removeChild(t),t=te,a||o(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(0,1)}}}});var Jt,Vt=!!ee.ActiveXObject&&function(){for(var e in Jt)Jt[e](0,1)},Yt=0;Pe.ajaxSettings.xhr=ee.ActiveXObject?function(){return!this.isLocal&&Se()||Ee()}:Se,function(e){Pe.extend(Pe.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(Pe.ajaxSettings.xhr()),Pe.support.ajax&&Pe.ajaxTransport(function(t){if(!t.crossDomain||Pe.support.cors){var n;return{send:function(a,s){var o,e,d=t.xhr();if(t.username?d.open(t.type,t.url,t.async,t.username,t.password):d.open(t.type,t.url,t.async),t.xhrFields)for(e in t.xhrFields)d[e]=t.xhrFields[e];t.mimeType&&d.overrideMimeType&&d.overrideMimeType(t.mimeType),t.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest");try{for(e in a)d.setRequestHeader(e,a[e])}catch(e){}d.send(t.hasContent&&t.data||null),n=function(i,a){var e,r,p,c,u;try{if(n&&(a||4===d.readyState))if(n=te,o&&(d.onreadystatechange=Pe.noop,Vt&&delete Jt[o]),a)4!==d.readyState&&d.abort();else{e=d.status,p=d.getAllResponseHeaders(),c={},u=d.responseXML,u&&u.documentElement&&(c.xml=u);try{c.text=d.responseText}catch(e){}try{r=d.statusText}catch(e){r=""}e||!t.isLocal||t.crossDomain?1223===e&&(e=204):e=c.text?200:404}}catch(e){a||s(-1,e)}c&&s(e,r,c,p)},t.async?4===d.readyState?setTimeout(n,0):(o=++Yt,Vt&&(Jt||(Jt={},Pe(ee).unload(Vt)),Jt[o]=n),d.onreadystatechange=n):n()},abort:function(){n&&n(0,1)}}}});var Gt,Qt,Kt=/^(?:toggle|show|hide)$/,Zt=new RegExp("^(?:([-+])=|)("+o+")([a-z%]*)$","i"),en=/queueHooks$/,tn=[He],nn={"*":[function(t,n){var a,o,s=this.createTween(t,n),e=Zt.exec(n),r=s.cur(),l=+r||0,p=1,u=20;if(e){if(a=+e[2],o=e[3]||(Pe.cssNumber[t]?"":"px"),"px"!==o&&l){l=Pe.css(s.elem,t,!0)||a||1;do p=p||".5",l/=p,Pe.style(s.elem,t,l+o);while(p!==(p=s.cur()/r)&&1!==p&&--u)}s.unit=o,s.start=l,s.end=e[1]?l+(e[1]+1)*a:a}return s}]};Pe.Animation=Pe.extend(Le,{tweener:function(t,n){Pe.isFunction(t)?(n=t,t=["*"]):t=t.split(" ");for(var o,s=0,i=t.length;sa?"large":768>b?"small":"unknown",console.log("Window size is: "+size),size},AM.Master.prototype.getWinThresh=function(a,b){var c=$(window).width();return size=c>=a&&c<=b?"medium":c>b?"full":c head").append($("")),guideHook="body",guideWrap=$("",{id:b,title:e,href:"#"+b}),guideWrap.prependTo(guideHook)},AM.Master.prototype.generateElement=function(a,b,c){element=$("<"+b+"/>",{class:c}),element.prependTo(a)},AM.Master.prototype.testEmail=function(){var a=document.newsletter.subscribe.value,b=/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!b.test(a))return alert("Invalid email address!"),!1},AM.Master.prototype.detectMobile=function(){var a=!1;return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&768>$(window).width()&&(a=!0),a?console.log("mobile browser detected"):console.log("not a mobile browser"),a},AM.Master.prototype.detectAdblock=function(){$.ajax({url:"http://tpc.googlesyndication.com/simgad/15085728490906883539",success:function(){commonMethods.detectAdblockCallback(!1)},error:function(){commonMethods.detectAdblockCallback(!0)}})},AM.Master.prototype.detectAdblockCallback=function(a){a?commonMethods.$_GET.debug&&console.log("AdBlock detected!"):commonMethods.$_GET.debug&&console.log("AdBlock not detected!")},AM.Master.prototype.insertAdblockPlaceholders=function(){$("#leaderboard").addClass("adblock-placeholder"),$("#leaderboard").css("height","90px"),$("#unit-sidebar").addClass("adblock-placeholder"),$("#unit-sidebar").css("height","250px"),$("#unit-sidebar").css("width","300px"),$("#div-gpt-ad-AmboTV_BTF_MR1_300x250_300x600_300x1050").wrap("
          "),$("#BTF_MR1_300x250_300x600_300x1050-wrap").addClass("adblock-placeholder"),$("#BTF_MR1_300x250_300x600_300x1050-wrap").css("height","250px"),$("#BTF_MR1_300x250_300x600_300x1050-wrap").css("width","300px"),$("#unit-footer").addClass("adblock-placeholder"),$("#unit-footer").css("height","90px"),$("#div-gpt-ad-Mediaite_Adsense_468x60").addClass("adblock-placeholder"),$("#div-gpt-ad-Mediaite_Adsense_468x60").css("height","90px"),commonMethods.detectMobile&&($("#mobile-atf").addClass("adblock-placeholder"),$("#mobile-atf").css("height","250px"),$("#mobile-atf").css("width","300px"),$(".mobile-unit-section").addClass("adblock-placeholder"),$(".mobile-unit-section").css("height","250px"),$(".mobile-unit-section").css("width","300px"))},AM.Master.prototype.generateNewsKeywords=function(){newsKeywordsMeta=$("",{name:"news_keywords",content:$("meta[name=keywords]").attr("content")}),newsKeywordsMeta.insertAfter($("meta[name=keywords]"))},AM.Master.prototype.adThresh=function(a){var b=$(window).width()>a?1:-1;$(window).resize(function(){var c=$(window).width();0>(c-a)*b&&(b*=-1,console.log("reloading gpt"),googletag.pubads().refresh())})},AM.Master.prototype.minHeader=function(){$("header").hasClass("full")&&(console.log("minimizing header"),$("header").removeClass("full"),$("header").addClass("compact"))},AM.Master.prototype.maxHeader=function(){$("header").hasClass("compact")&&(console.log("maximizing header"),$("header").removeClass("compact"),$("header").addClass("full"))},AM.Master.prototype.fakeComment=function(){function a(a,b){return Math.random()*(b-a)+a}$(document).ready(function(){$(".comments-link").each(function(){randomCommentCount=Math.round(a(0,1500)),element=$("",{class:" fake-comment"}),$(this).prepend(" "+randomCommentCount+"*")})})},AM.Master.prototype.homebrewAdhesion=function(){$(document).ready(function(){placementHook=$("body"),placementWrapSlug="adhesion-wrap",placementSlug="adhesion",placementInnerSlug="adhesion-close",placementWrap=$("
          ",{id:placementWrapSlug}),placement=$("
          ",{id:placementSlug}),placementClose=$("",{id:placementInnerSlug,class:"fa fa-times"}),placementInner=$("",{id:placementInnerSlug}),placementWrap.prependTo(placementHook),placement.prependTo(placementWrap),placementClose.appendTo($("#"+placementSlug)),$("#AmboTV_Mobile_Adhesive").prependTo($("#"+placementSlug)),$("#AmboTV_Desktop_Adhesive").prependTo($("#"+placementSlug)),$("#adhesion-close").click(function(){$("#adhesion").css({display:"none"}),document.getElementById("live-post-wrap").classList.remove("overlap"),document.getElementById("lnn-promo").classList.remove("overlap")}),$("#adhesion").hasClass("show")&&$("#lnn-promo").addClass("overlap")})},AM.Master.prototype.homebrewAdhesionCountdown=function(){$(document).ready(function(){placementHook=$("body"),placementWrapSlug="adhesion-wrap",placementSlug="adhesion",placementInnerSlug="adhesion-close",placementWrap=$("
          ",{id:placementWrapSlug}),placement=$("
          ",{id:placementSlug}),placementClose=$("",{id:placementInnerSlug,class:"fa fa-times"}),placementInner=$("",{id:placementInnerSlug}),placementWrap.prependTo(placementHook),placement.prependTo(placementWrap),placementClose.appendTo($("#"+placementSlug)),$("#adhesion-close").click(function(){$("#adhesion").css({display:"none"}),document.getElementById("live-post-wrap").classList.remove("overlap"),document.getElementById("lnn-promo").classList.remove("overlap")}),$("#adhesion").addClass("show"),commonMethods.countdownMobile()})},AM.Master.prototype.pCounter=function(a,b,c){for(var d=0,e=0,f=0;f<$(a).length-3;f++){pCount=f+1;var g=$(a+":nth-of-type("+pCount+")"),h=g.text().length;c&&console.log("p:"+pCount+" - "+h+" characters");h>100&&(d++,c&&console.log("p:"+pCount+" - has qualified. "+d+" paragraph"+(1==d?" has":"s have")+" now qualified"),0==d%b&&(e++,$(a+":nth-of-type("+pCount+")").addClass("qualified qualified-"+e)))}},AM.Master.prototype.gNewsKeywords=function(){newsKeywordsMeta=$("",{name:"news_keywords",content:$("meta[name=keywords]").attr("content")}),newsKeywordsMeta.insertAfter($("meta[name=keywords]"))},AM.Master.prototype.mobileTopShelf=function(){$(document).ready(function(){if($("body").hasClass("single")){var a=$("#featured-posts");a.wrap("
          ");var b=$("#featured-posts-wrap");b.addClass("top-shelf-fixed"),scrollLeftBtn=$("",{id:"featured-posts-scrollleft",class:"featured-posts-button"}).appendTo(b),scrollLeftBtn.click(function(){var b=a.scrollLeft();a.animate({scrollLeft:b-290},800)}),scrollRightBtn=$("",{id:"featured-posts-scrollright",class:"featured-posts-button"}).appendTo(b),scrollRightBtn.click(function(){var b=a.scrollLeft();a.animate({scrollLeft:b+290},800)}),j=$("",{id:"featured-posts-hide",class:"featured-posts-hide-closed"}).appendTo(b),j.click(function(){b.hasClass("top-shelf-expanded")?(b.removeClass("top-shelf-expanded"),b.removeClass("top-shelf-open"),b.addClass("top-shelf-closed"),j.addClass("featured-posts-hide-closed"),Cookies.set("topShelf","closed",{expires:1})):(b.removeClass("top-shelf-closed"),b.addClass("top-shelf-open"),b.addClass("top-shelf-expanded"),j.removeClass("featured-posts-hide-closed"))});var c="#post-body p",d=$(c).length-1,e=Math.floor(d-d/4);e<1&&(e=1);var f=$(c+":nth-of-type("+e+")"),b=$("#featured-posts-wrap"),a=$("#featured-posts"),g=f.offset().top,h=b.hasClass("top-shelf-closed"),i=b.hasClass("top-shelf-open"),j=$("#featured-posts-hide");$(window).scroll(function(){"closed"!=Cookies.get("topShelf")&&($(window).scrollTop()>=g&&!h?(b.addClass("top-shelf-expanded"),j.removeClass("featured-posts-hide-closed")):$(window).scrollTop()",{id:"lnn-promo",class:"fixed open sticky-enabled"}),stickyPromoSwitch=$("",{id:"sticky-promo-switch",href:"#"}),lnnLink=$("",{id:"lnn-link",href:"http://AmboTV.com"}),lnnHook=$("#partners"),lnnElement.insertBefore(lnnHook),stickyPromoSwitch.prependTo(lnnElement),lnnLink.appendTo(lnnElement),$("#lnn-promo").length){a=$("#lnn-promo"),stickyElement=$("#lnn-promo a:first-child"),a.addClass("fixed"),b||a.addClass("open"),Cookies.get("promoSticky")&&(a.addClass("closed"),a.removeClass("open"));var b=!1;$("#sticky-promo-switch").click(function(){return a.toggleClass("closed"),a.toggleClass("open"),b=!0,Cookies.get("promoSticky")?Cookies.remove("promoSticky","closed",{expires:1}):Cookies.set("promoSticky","closed",{expires:1}),!1})}},AM.Master.prototype.detectDevSubdomain=function(){var a=window.location.host,b=a.split("."),c=b[0];return!("dev"!=c)},AM.Master.prototype.adFreeMode=function(){Cookies.get("adfree")&&$(document).ready(function(){$("html").addClass("adfree"),commonMethods.insertAdblockPlaceholders(),googletag.cmd.push(function(){googletag.destroySlots()}),$("#logo").hover(function(){$("body").toggleClass("skinned")})})},AM.Master.prototype.insertChatroll=function(){$(document).ready(function(){var a=document.querySelector(".chatroll-placeholder");$("
          Watch Ambo TV Live Sermon Network

          佛跳墙官网下载

          佛跳墙官网下载

          小火箭免费节点公众号

          Sign up for your daily dose of Ambo TV.

          More Good News
          免费ssr节点2021
          小火箭添加节点

          © 2020 Ambo TV | About Us | Advertise | 小火箭免费节点公众号 | Privacy | User Agreement | Disclaimer | Contact | RSS RSS

          苹果油管youtube怎么上   旋风加网络速器   老王佛系官网下载   云梯更科学的上网工具  ios搭设梯子2022   赛 风3 安卓手机版  小马出墙最新版破解版