// Build: 18.06.1.v62rc000
/*!
 * Sizzle CSS Selector Engine v1.9.4-pre
 * http://sizzlejs.com/
 *
 * Copyright 2013 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2013-04-24
 */
window.getSizzleForTarget=function(aA,b,r){var G,m,w,R,U,ag,aG,S,aj,L,x,at,an,aB,l,P,av="sizzle"+-(new Date()),T=aA.document,aD={},aE=0,ao=0,f=J(),au=J(),Q=J(),ah=false,N=function(){return 0},az=typeof r,ab=1<<31,Y=aD.hasOwnProperty,ax=[],ay=ax.pop,W=ax.push,c=ax.push,v=ax.slice,k=ax.indexOf||function(aI){var aH=0,e=this.length;for(;aH<e;aH++){if(this[aH]===aI){return aH}}return -1},d="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",y="[\\x20\\t\\r\\n\\f]",a="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",V=a.replace("w","w#"),aq="\\["+y+"*("+a+")"+y+"*(?:([*^$|!~]?=)"+y+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+V+")|)|)"+y+"*\\]",t=":("+a+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+aq.replace(3,8)+")*)|.*)\\)|)",A=new RegExp("^"+y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+y+"+$","g"),D=new RegExp("^"+y+"*,"+y+"*"),K=new RegExp("^"+y+"*([>+~]|"+y+")"+y+"*"),al=new RegExp(y+"*[+~]"),C=new RegExp("="+y+"*([^\\]'\"]*)"+y+"*\\]","g"),ad=new RegExp(t),ae=new RegExp("^"+V+"$"),am={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a.replace("w","w*")+")"),ATTR:new RegExp("^"+aq),PSEUDO:new RegExp("^"+t),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+y+"*(even|odd|(([+-]|)(\\d*)n|)"+y+"*(?:([+-]|)"+y+"*(\\d+)|))"+y+"*\\)|)","i"),bool:new RegExp("^(?:"+d+")$","i"),needsContext:new RegExp("^"+y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+y+"*((?:-\\d)?\\d*)"+y+"*\\)|)(?=[^-]|$)","i")},aa=/^[^{]+\{\s*\[native \w/,ac=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,j=/^(?:input|select|textarea|button)$/i,u=/^h\d$/i,X=/'|\\/g,B=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,ap=function(e,aH){var i="0x"+aH-65536;return i!==i?aH:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)};try{c.apply((ax=v.call(T.childNodes)),T.childNodes);ax[T.childNodes.length].nodeType}catch(M){c={apply:ax.length?function(i,e){W.apply(i,v.call(e))}:function(aJ,aI){var e=aJ.length,aH=0;while((aJ[e++]=aI[aH++])){}aJ.length=e-1}}}function O(e){return aa.test(e+"")}function J(){var e,i=[];return(e=function(aH,aI){if(i.push(aH+=" ")>w.cacheLength){delete e[i.shift()]}return(e[aH]=aI)})}function s(e){e[av]=true;return e}function n(i){var aI=L.createElement("div");try{return !!i(aI)}catch(aH){return false}finally{if(aI.parentNode){aI.parentNode.removeChild(aI)}aI=null}}function E(aO,aH,aS,aU){var aT,aL,aM,aQ,aR,aK,aJ,e,aI,aP;if((aH?aH.ownerDocument||aH:T)!==L){aj(aH)}aH=aH||L;aS=aS||[];if(!aO||typeof aO!=="string"){return aS}if((aQ=aH.nodeType)!==1&&aQ!==9){return[]}if(at&&!aU){if((aT=ac.exec(aO))){if((aM=aT[1])){if(aQ===9){aL=aH.getElementById(aM);if(aL&&aL.parentNode){if(aL.id===aM){aS.push(aL);return aS}}else{return aS}}else{if(aH.ownerDocument&&(aL=aH.ownerDocument.getElementById(aM))&&P(aH,aL)&&aL.id===aM){aS.push(aL);return aS}}}else{if(aT[2]){c.apply(aS,aH.getElementsByTagName(aO));return aS}else{if((aM=aT[3])&&aD.getElementsByClassName&&aH.getElementsByClassName){c.apply(aS,aH.getElementsByClassName(aM));return aS}}}}if(aD.qsa&&(!an||!an.test(aO))){e=aJ=av;aI=aH;aP=aQ===9&&aO;if(aQ===1&&aH.nodeName.toLowerCase()!=="object"){aK=q(aO);if((aJ=aH.getAttribute("id"))){e=aJ.replace(X,"\\$&")}else{aH.setAttribute("id",e)}e="[id='"+e+"'] ";aR=aK.length;while(aR--){aK[aR]=e+p(aK[aR])}aI=al.test(aO)&&aH.parentNode||aH;aP=aK.join(",")}if(aP){try{c.apply(aS,aI.querySelectorAll(aP));return aS}catch(aN){}finally{if(!aJ){aH.removeAttribute("id")}}}}}return aC(aO.replace(A,"$1"),aH,aS,aU)}U=E.isXML=function(e){var i=e&&(e.ownerDocument||e).documentElement;return i?i.nodeName!=="HTML":false};aj=E.setDocument=function(e){var i=e?e.ownerDocument||e:T;if(i===L||i.nodeType!==9||!i.documentElement){return L}L=i;x=i.documentElement;at=!U(i);aD.getElementsByTagName=n(function(aH){aH.appendChild(i.createComment(""));return !aH.getElementsByTagName("*").length});aD.attributes=n(function(aH){aH.className="i";return !aH.getAttribute("className")});aD.getElementsByClassName=n(function(aH){aH.innerHTML="<div class='a'></div><div class='a i'></div>";aH.firstChild.className="i";return aH.getElementsByClassName("i").length===2});aD.sortDetached=n(function(aH){return aH.compareDocumentPosition(L.createElement("div"))&1});aD.getById=n(function(aH){x.appendChild(aH).id=av;return !i.getElementsByName||!i.getElementsByName(av).length});if(aD.getById){w.find.ID=function(aJ,aI){if(typeof aI.getElementById!==az&&at){var aH=aI.getElementById(aJ);return aH&&aH.parentNode?[aH]:[]}};w.filter.ID=function(aI){var aH=aI.replace(B,ap);return function(aJ){return aJ.getAttribute("id")===aH}}}else{w.find.ID=function(aJ,aI){if(typeof aI.getElementById!==az&&at){var aH=aI.getElementById(aJ);return aH?aH.id===aJ||typeof aH.getAttributeNode!==az&&aH.getAttributeNode("id").value===aJ?[aH]:r:[]}};w.filter.ID=function(aI){var aH=aI.replace(B,ap);return function(aK){var aJ=typeof aK.getAttributeNode!==az&&aK.getAttributeNode("id");return aJ&&aJ.value===aH}}}w.find.TAG=aD.getElementsByTagName?function(aH,aI){if(typeof aI.getElementsByTagName!==az){return aI.getElementsByTagName(aH)}}:function(aH,aL){var aM,aK=[],aJ=0,aI=aL.getElementsByTagName(aH);if(aH==="*"){while((aM=aI[aJ++])){if(aM.nodeType===1){aK.push(aM)}}return aK}return aI};w.find.CLASS=aD.getElementsByClassName&&function(aI,aH){if(typeof aH.getElementsByClassName!==az&&at){return aH.getElementsByClassName(aI)}};aB=[];an=[];if((aD.qsa=O(i.querySelectorAll))){n(function(aH){aH.innerHTML="<select><option selected=''></option></select>";if(!aH.querySelectorAll("[selected]").length){an.push("\\["+y+"*(?:value|"+d+")")}if(!aH.querySelectorAll(":checked").length){an.push(":checked")}});n(function(aI){var aH=L.createElement("input");aH.setAttribute("type","hidden");aI.appendChild(aH).setAttribute("t","");if(aI.querySelectorAll("[t^='']").length){an.push("[*^$]="+y+"*(?:''|\"\")")}if(!aI.querySelectorAll(":enabled").length){an.push(":enabled",":disabled")}aI.querySelectorAll("*,:x");an.push(",.*:")})}if((aD.matchesSelector=O((l=x.webkitMatchesSelector||x.mozMatchesSelector||x.oMatchesSelector||x.msMatchesSelector)))){n(function(aH){aD.disconnectedMatch=l.call(aH,"div");l.call(aH,"[s!='']:x");aB.push("!=",t)})}an=an.length&&new RegExp(an.join("|"));aB=aB.length&&new RegExp(aB.join("|"));P=O(x.contains)||x.compareDocumentPosition?function(aI,aH){var aK=aI.nodeType===9?aI.documentElement:aI,aJ=aH&&aH.parentNode;return aI===aJ||!!(aJ&&aJ.nodeType===1&&(aK.contains?aK.contains(aJ):aI.compareDocumentPosition&&aI.compareDocumentPosition(aJ)&16))}:function(aI,aH){if(aH){while((aH=aH.parentNode)){if(aH===aI){return true}}}return false};N=x.compareDocumentPosition?function(aI,aH){if(aI===aH){ah=true;return 0}var aJ=aH.compareDocumentPosition&&aI.compareDocumentPosition&&aI.compareDocumentPosition(aH);if(aJ){if(aJ&1||(!aD.sortDetached&&aH.compareDocumentPosition(aI)===aJ)){if(aI===i||P(T,aI)){return -1}if(aH===i||P(T,aH)){return 1}return S?(k.call(S,aI)-k.call(S,aH)):0}return aJ&4?-1:1}return aI.compareDocumentPosition?-1:1}:function(aI,aH){var aO,aL=0,aN=aI.parentNode,aK=aH.parentNode,aJ=[aI],aM=[aH];if(aI===aH){ah=true;return 0}else{if(!aN||!aK){return aI===i?-1:aH===i?1:aN?-1:aK?1:S?(k.call(S,aI)-k.call(S,aH)):0}else{if(aN===aK){return g(aI,aH)}}}aO=aI;while((aO=aO.parentNode)){aJ.unshift(aO)}aO=aH;while((aO=aO.parentNode)){aM.unshift(aO)}while(aJ[aL]===aM[aL]){aL++}return aL?g(aJ[aL],aM[aL]):aJ[aL]===T?-1:aM[aL]===T?1:0};return L};E.matches=function(i,e){return E(i,null,null,e)};E.matchesSelector=function(aH,aJ){if((aH.ownerDocument||aH)!==L){aj(aH)}aJ=aJ.replace(C,"='$1']");if(aD.matchesSelector&&at&&(!aB||!aB.test(aJ))&&(!an||!an.test(aJ))){try{var i=l.call(aH,aJ);if(i||aD.disconnectedMatch||aH.document&&aH.document.nodeType!==11){return i}}catch(aI){}}return E(aJ,L,null,[aH]).length>0};E.contains=function(e,i){if((e.ownerDocument||e)!==L){aj(e)}return P(e,i)};E.attr=function(aH,e){if((aH.ownerDocument||aH)!==L){aj(aH)}var i=w.attrHandle[e.toLowerCase()],aI=i&&(Y.call(w.attrHandle,e.toLowerCase())?i(aH,e,!at):r);return aI===r?aD.attributes||!at?aH.getAttribute(e):(aI=aH.getAttributeNode(e))&&aI.specified?aI.value:null:aI};E.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};E.uniqueSort=function(aI){var aJ,aK=[],e=0,aH=0;ah=!aD.detectDuplicates;S=!aD.sortStable&&aI.slice(0);aI.sort(N);if(ah){while((aJ=aI[aH++])){if(aJ===aI[aH]){e=aK.push(aH)}}while(e--){aI.splice(aK[e],1)}}return aI};function g(i,e){var aI=e&&i,aH=aI&&(~e.sourceIndex||ab)-(~i.sourceIndex||ab);if(aH){return aH}if(aI){while((aI=aI.nextSibling)){if(aI===e){return -1}}}return i?1:-1}function Z(i,e,aI){var aH;return aI?r:(aH=i.getAttributeNode(e))&&aH.specified?aH.value:i[e]===true?e.toLowerCase():null}function H(i,e,aI){var aH;return aI?r:(aH=i.getAttribute(e,e.toLowerCase()==="type"?1:2))}function F(e){return function(aH){var i=aH.nodeName.toLowerCase();return i==="input"&&aH.type===e}}function h(e){return function(aH){var i=aH.nodeName.toLowerCase();return(i==="input"||i==="button")&&aH.type===e}}function ar(e){return s(function(i){i=+i;return s(function(aH,aL){var aJ,aI=e([],aH.length,i),aK=aI.length;while(aK--){if(aH[(aJ=aI[aK])]){aH[aJ]=!(aL[aJ]=aH[aJ])}}})})}R=E.getText=function(aK){var aJ,aH="",aI=0,e=aK.nodeType;if(!e){for(;(aJ=aK[aI]);aI++){aH+=R(aJ)}}else{if(e===1||e===9||e===11){if(typeof aK.textContent==="string"){return aK.textContent}else{for(aK=aK.firstChild;aK;aK=aK.nextSibling){aH+=R(aK)}}}else{if(e===3||e===4){return aK.nodeValue}}}return aH};w=E.selectors={cacheLength:50,createPseudo:s,match:am,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(B,ap);e[3]=(e[4]||e[5]||"").replace(B,ap);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){E.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+((e[7]+e[8])||e[3]==="odd")}else{if(e[3]){E.error(e[0])}}return e},PSEUDO:function(i){var e,aH=!i[5]&&i[2];if(am.CHILD.test(i[0])){return null}if(i[4]){i[2]=i[4]}else{if(aH&&ad.test(aH)&&(e=q(aH,true))&&(e=aH.indexOf(")",aH.length-e)-aH.length)){i[0]=i[0].slice(0,e);i[2]=aH.slice(0,e)}}return i.slice(0,3)}},filter:{TAG:function(i){var e=i.replace(B,ap).toLowerCase();return i==="*"?function(){return true}:function(aH){return aH.nodeName&&aH.nodeName.toLowerCase()===e}},CLASS:function(e){var i=f[e+" "];return i||(i=new RegExp("(^|"+y+")"+e+"("+y+"|$)"))&&f(e,function(aH){return i.test(typeof aH.className==="string"&&aH.className||typeof aH.getAttribute!==az&&aH.getAttribute("class")||"")})},ATTR:function(aH,i,e){return function(aJ){var aI=E.attr(aJ,aH);if(aI==null){return i==="!="}if(!i){return true}aI+="";return i==="="?aI===e:i==="!="?aI!==e:i==="^="?e&&aI.indexOf(e)===0:i==="*="?e&&aI.indexOf(e)>-1:i==="$="?e&&aI.slice(-e.length)===e:i==="~="?(" "+aI+" ").indexOf(e)>-1:i==="|="?aI===e||aI.slice(0,e.length+1)===e+"-":false}},CHILD:function(i,aJ,aI,aK,aH){var aM=i.slice(0,3)!=="nth",e=i.slice(-4)!=="last",aL=aJ==="of-type";return aK===1&&aH===0?function(aN){return !!aN.parentNode}:function(aT,aR,aW){var aN,aZ,aU,aY,aV,aQ,aS=aM!==e?"nextSibling":"previousSibling",aX=aT.parentNode,aP=aL&&aT.nodeName.toLowerCase(),aO=!aW&&!aL;if(aX){if(aM){while(aS){aU=aT;while((aU=aU[aS])){if(aL?aU.nodeName.toLowerCase()===aP:aU.nodeType===1){return false}}aQ=aS=i==="only"&&!aQ&&"nextSibling"}return true}aQ=[e?aX.firstChild:aX.lastChild];if(e&&aO){aZ=aX[av]||(aX[av]={});aN=aZ[i]||[];aV=aN[0]===aE&&aN[1];aY=aN[0]===aE&&aN[2];aU=aV&&aX.childNodes[aV];while((aU=++aV&&aU&&aU[aS]||(aY=aV=0)||aQ.pop())){if(aU.nodeType===1&&++aY&&aU===aT){aZ[i]=[aE,aV,aY];break}}}else{if(aO&&(aN=(aT[av]||(aT[av]={}))[i])&&aN[0]===aE){aY=aN[1]}else{while((aU=++aV&&aU&&aU[aS]||(aY=aV=0)||aQ.pop())){if((aL?aU.nodeName.toLowerCase()===aP:aU.nodeType===1)&&++aY){if(aO){(aU[av]||(aU[av]={}))[i]=[aE,aY]}if(aU===aT){break}}}}}aY-=aH;return aY===aK||(aY%aK===0&&aY/aK>=0)}}},PSEUDO:function(aI,aH){var e,i=w.pseudos[aI]||w.setFilters[aI.toLowerCase()]||E.error("unsupported pseudo: "+aI);if(i[av]){return i(aH)}if(i.length>1){e=[aI,aI,"",aH];return w.setFilters.hasOwnProperty(aI.toLowerCase())?s(function(aL,aN){var aK,aJ=i(aL,aH),aM=aJ.length;while(aM--){aK=k.call(aL,aJ[aM]);aL[aK]=!(aN[aK]=aJ[aM])}}):function(aJ){return i(aJ,0,e)}}return i}},pseudos:{not:s(function(e){var i=[],aH=[],aI=ag(e.replace(A,"$1"));return aI[av]?s(function(aK,aP,aN,aL){var aO,aJ=aI(aK,null,aL,[]),aM=aK.length;while(aM--){if((aO=aJ[aM])){aK[aM]=!(aP[aM]=aO)}}}):function(aL,aK,aJ){i[0]=aL;aI(i,null,aJ,aH);return !aH.pop()}}),has:s(function(e){return function(i){return E(e,i).length>0}}),contains:s(function(e){return function(i){return(i.textContent||i.innerText||R(i)).indexOf(e)>-1}}),lang:s(function(e){if(!ae.test(e||"")){E.error("unsupported lang: "+e)}e=e.replace(B,ap).toLowerCase();return function(aH){var i;do{if((i=at?aH.lang:aH.getAttribute("xml:lang")||aH.getAttribute("lang"))){i=i.toLowerCase();return i===e||i.indexOf(e+"-")===0}}while((aH=aH.parentNode)&&aH.nodeType===1);return false}}),target:function(e){var i=aA.location&&aA.location.hash;return i&&i.slice(1)===e.id},root:function(e){return e===x},focus:function(e){return e===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var i=e.nodeName.toLowerCase();return(i==="input"&&!!e.checked)||(i==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeName>"@"||e.nodeType===3||e.nodeType===4){return false}}return true},parent:function(e){return !w.pseudos.empty(e)},header:function(e){return u.test(e.nodeName)},input:function(e){return j.test(e.nodeName)},button:function(i){var e=i.nodeName.toLowerCase();return e==="input"&&i.type==="button"||e==="button"},text:function(i){var e;return i.nodeName.toLowerCase()==="input"&&i.type==="text"&&((e=i.getAttribute("type"))==null||e.toLowerCase()===i.type)},first:ar(function(){return[0]}),last:ar(function(e,i){return[i-1]}),eq:ar(function(e,aH,i){return[i<0?i+aH:i]}),even:ar(function(e,aI){var aH=0;for(;aH<aI;aH+=2){e.push(aH)}return e}),odd:ar(function(e,aI){var aH=1;for(;aH<aI;aH+=2){e.push(aH)}return e}),lt:ar(function(e,aJ,aI){var aH=aI<0?aI+aJ:aI;for(;--aH>=0;){e.push(aH)}return e}),gt:ar(function(e,aJ,aI){var aH=aI<0?aI+aJ:aI;for(;++aH<aJ;){e.push(aH)}return e})}};for(G in {radio:true,checkbox:true,file:true,password:true,image:true}){w.pseudos[G]=F(G)}for(G in {submit:true,reset:true}){w.pseudos[G]=h(G)}function q(aJ,aO){var i,aK,aM,aN,aL,aH,e,aI=au[aJ+" "];if(aI){return aO?0:aI.slice(0)}aL=aJ;aH=[];e=w.preFilter;while(aL){if(!i||(aK=D.exec(aL))){if(aK){aL=aL.slice(aK[0].length)||aL}aH.push(aM=[])}i=false;if((aK=K.exec(aL))){i=aK.shift();aM.push({value:i,type:aK[0].replace(A," ")});aL=aL.slice(i.length)}for(aN in w.filter){if((aK=am[aN].exec(aL))&&(!e[aN]||(aK=e[aN](aK)))){i=aK.shift();aM.push({value:i,type:aN,matches:aK});aL=aL.slice(i.length)}}if(!i){break}}return aO?aL.length:aL?E.error(aJ):au(aJ,aH).slice(0)}function p(aJ){var aI=0,aH=aJ.length,e="";for(;aI<aH;aI++){e+=aJ[aI].value}return e}function z(aJ,aH,aI){var e=aH.dir,aK=aI&&e==="parentNode",i=ao++;return aH.first?function(aN,aM,aL){while((aN=aN[e])){if(aN.nodeType===1||aK){return aJ(aN,aM,aL)}}}:function(aP,aN,aM){var aR,aL,aO,aQ=aE+" "+i;if(aM){while((aP=aP[e])){if(aP.nodeType===1||aK){if(aJ(aP,aN,aM)){return true}}}}else{while((aP=aP[e])){if(aP.nodeType===1||aK){aO=aP[av]||(aP[av]={});if((aL=aO[e])&&aL[0]===aQ){if((aR=aL[1])===true||aR===m){return aR===true}}else{aL=aO[e]=[aQ];aL[1]=aJ(aP,aN,aM)||m;if(aL[1]===true){return true}}}}}}}function aF(e){return e.length>1?function(aK,aJ,aH){var aI=e.length;while(aI--){if(!e[aI](aK,aJ,aH)){return false}}return true}:e[0]}function ak(e,aH,aI,aJ,aM){var aK,aP=[],aL=0,aN=e.length,aO=aH!=null;for(;aL<aN;aL++){if((aK=e[aL])){if(!aI||aI(aK,aJ,aM)){aP.push(aK);if(aO){aH.push(aL)}}}}return aP}function o(aH,i,aJ,aI,aK,e){if(aI&&!aI[av]){aI=o(aI)}if(aK&&!aK[av]){aK=o(aK,e)}return s(function(aV,aS,aN,aU){var aX,aT,aP,aO=[],aW=[],aM=aS.length,aL=aV||I(i||"*",aN.nodeType?[aN]:aN,[]),aQ=aH&&(aV||!i)?ak(aL,aO,aH,aN,aU):aL,aR=aJ?aK||(aV?aH:aM||aI)?[]:aS:aQ;if(aJ){aJ(aQ,aR,aN,aU)}if(aI){aX=ak(aR,aW);aI(aX,[],aN,aU);aT=aX.length;while(aT--){if((aP=aX[aT])){aR[aW[aT]]=!(aQ[aW[aT]]=aP)}}}if(aV){if(aK||aH){if(aK){aX=[];aT=aR.length;while(aT--){if((aP=aR[aT])){aX.push((aQ[aT]=aP))}}aK(null,(aR=[]),aX,aU)}aT=aR.length;while(aT--){if((aP=aR[aT])&&(aX=aK?k.call(aV,aP):aO[aT])>-1){aV[aX]=!(aS[aX]=aP)}}}}else{aR=ak(aR===aS?aR.splice(aM,aR.length):aR);if(aK){aK(null,aS,aR,aU)}else{c.apply(aS,aR)}}})}function aw(aM){var aH,aK,aI,aL=aM.length,aP=w.relative[aM[0].type],aQ=aP||w.relative[" "],aJ=aP?1:0,aN=z(function(i){return i===aH},aQ,true),aO=z(function(i){return k.call(aH,i)>-1},aQ,true),e=[function(aS,aR,i){return(!aP&&(i||aR!==aG))||((aH=aR).nodeType?aN(aS,aR,i):aO(aS,aR,i))}];for(;aJ<aL;aJ++){if((aK=w.relative[aM[aJ].type])){e=[z(aF(e),aK)]}else{aK=w.filter[aM[aJ].type].apply(null,aM[aJ].matches);if(aK[av]){aI=++aJ;for(;aI<aL;aI++){if(w.relative[aM[aI].type]){break}}return o(aJ>1&&aF(e),aJ>1&&p(aM.slice(0,aJ-1)).replace(A,"$1"),aK,aJ<aI&&aw(aM.slice(aJ,aI)),aI<aL&&aw((aM=aM.slice(aI))),aI<aL&&p(aM))}e.push(aK)}}return aF(e)}function ai(aI,aH){var aK=0,e=aH.length>0,aJ=aI.length>0,i=function(aU,aO,aT,aS,a0){var aP,aQ,aV,aZ=[],aY=0,aR="0",aL=aU&&[],aW=a0!=null,aX=aG,aN=aU||aJ&&w.find.TAG("*",a0&&aO.parentNode||aO),aM=(aE+=aX==null?1:Math.random()||0.1);if(aW){aG=aO!==L&&aO;m=aK}for(;(aP=aN[aR])!=null;aR++){if(aJ&&aP){aQ=0;while((aV=aI[aQ++])){if(aV(aP,aO,aT)){aS.push(aP);break}}if(aW){aE=aM;m=++aK}}if(e){if((aP=!aV&&aP)){aY--}if(aU){aL.push(aP)}}}aY+=aR;if(e&&aR!==aY){aQ=0;while((aV=aH[aQ++])){aV(aL,aZ,aO,aT)}if(aU){if(aY>0){while(aR--){if(!(aL[aR]||aZ[aR])){aZ[aR]=ay.call(aS)}}}aZ=ak(aZ)}c.apply(aS,aZ);if(aW&&!aU&&aZ.length>0&&(aY+aH.length)>1){E.uniqueSort(aS)}}if(aW){aE=aM;aG=aX}return aL};return e?s(i):i}ag=E.compile=function(e,aL){var aI,aH=[],aK=[],aJ=Q[e+" "];if(!aJ){if(!aL){aL=q(e)}aI=aL.length;while(aI--){aJ=aw(aL[aI]);if(aJ[av]){aH.push(aJ)}else{aK.push(aJ)}}aJ=Q(e,ai(aK,aH))}return aJ};function I(aH,aK,aJ){var aI=0,e=aK.length;for(;aI<e;aI++){E(aH,aK[aI],aJ)}return aJ}function aC(aI,e,aJ,aM){var aK,aO,aH,aP,aN,aL=q(aI);if(!aM){if(aL.length===1){aO=aL[0]=aL[0].slice(0);if(aO.length>2&&(aH=aO[0]).type==="ID"&&e.nodeType===9&&at&&w.relative[aO[1].type]){e=(w.find.ID(aH.matches[0].replace(B,ap),e)||[])[0];if(!e){return aJ}aI=aI.slice(aO.shift().value.length)}aK=am.needsContext.test(aI)?0:aO.length;while(aK--){aH=aO[aK];if(w.relative[(aP=aH.type)]){break}if((aN=w.find[aP])){if((aM=aN(aH.matches[0].replace(B,ap),al.test(aO[0].type)&&e.parentNode||e))){aO.splice(aK,1);aI=aM.length&&p(aO);if(!aI){c.apply(aJ,aM);return aJ}break}}}}}ag(aI,aL)(aM,e,!at,aJ,al.test(aI));return aJ}w.pseudos.nth=w.pseudos.eq;function af(){}af.prototype=w.filters=w.pseudos;w.setFilters=new af();aD.sortStable=av.split("").sort(N).join("")===av;aj();[0,0].sort(N);aD.detectDuplicates=ah;n(function(aI){aI.innerHTML="<a href='#'></a>";if(aI.firstChild.getAttribute("href")!=="#"){var e="type|href|height|width".split("|"),aH=e.length;while(aH--){w.attrHandle[e[aH]]=H}}});n(function(aI){if(aI.getAttribute("disabled")!=null){var e=d.split("|"),aH=e.length;while(aH--){w.attrHandle[e[aH]]=Z}}});b.Sizzle=E};var _AT=_AT||{};(function(){_AT.config=extend({atServer:"cdn.tt.omtrdc.net",atLocation:"/cdn",trackingTimeout:500,loadSizzle:true,debug:false,minified:false,pollDOM:true,pollTime:50,cdqConnectTimeout:50,fallbackTimeOut:3000,tryAfterLoadMaxCount:(15*60*1000)/50,numAttemptsToPreventFlicker:15,showElementsOnDomReady:true},_AT.config);var lastActions=null;var minStr=_AT.config.minified?".min":"";_AT.shouldDelayLoad=false;_AT.pollingIntervalId=null;_AT.actions=[];var admin=~window.location.toString().indexOf("mboxEdit=1")||~document.referrer.indexOf("mboxEdit=1");var debugWindow=~window.location.search.indexOf("_AT_Debug=window");var debugConsole=~window.location.search.indexOf("_AT_Debug=console");var getCurrentTime=_AT.getCurrentTime=function(){var d=new Date();return d.toString()+" "+d.getMilliseconds()+" ms"};_AT.config.debug=(debugConsole||debugWindow);if(debugWindow){_AT.debugWindow=window.open("about:blank");_AT.debugWindowDocument=_AT.debugWindow.document;_AT.debugWindowDocument.write(_AT.getCurrentTime());_AT.debugWindowDocument.write("<hr/>")}if(!admin&&typeof mboxFactoryDefault!=="undefined"){var redirectCookie=mboxFactoryDefault.getCookieManager().getCookie("at-redirect-offer");_AT.isRedirectedPage=false;if(redirectCookie!==null){_AT.isRedirectedPage=(redirectCookie!==window.location.toString())}mboxFactoryDefault.getCookieManager().deleteCookie("at-redirect-offer")}window.getSizzleForTarget(window,_AT);(typeof _AT.Sizzle==="function"&&typeof _AT.Sizzle.matches==="function"&&typeof _AT.Sizzle.matchesSelector==="function")?(_AT.querySelectorAll=_AT.Sizzle):(_AT.querySelectorAll=document.querySelectorAll);function extend(){var target={};for(var i=0;i<arguments.length;i++){var obj=arguments[i];for(var prop in obj){target[prop]=obj[prop]}}return target}var querySelectorAll=function(selector){if(_AT.querySelectorAll){return _AT.querySelectorAll.call(document,selector)}else{error("No query selector engine available")}};var onReady=_AT.onReady=function(fn){var doc=window.document;if(doc.readyState==="complete"){fn.call(window,"lazy");return}var done=false;var top=true;var root=doc.documentElement;var add,rem,pre;if(doc.addEventListener){add="addEventListener";rem="removeEventListener";pre=""}else{add="attachEvent";rem="detachEvent";pre="on"}var init=function(e){if(e.type==="readystatechange"&&doc.readyState!=="complete"){return}(e.type==="load"?window:doc)[rem](pre+e.type,init,false);if(!done&&(done=true)){fn.call(window,e.type||e)}};var poll=function(){try{root.doScroll("left")}catch(e){setTimeout(poll,50);return}init("poll")};if(doc.createEventObject&&root.doScroll){try{top=!window.frameElement}catch(e){}if(top){poll()}}doc[add](pre+"DOMContentLoaded",init,false);doc[add](pre+"readystatechange",init,false);window[add](pre+"load",init,false)};var addListener=_AT.addListener=function(el,type,handler){var eventHandler=handler;if(el.attachEvent){eventHandler=function(){handler.call(el,window.event)};el.attachEvent("on"+type,handler)}else{if(el.addEventListener){el.addEventListener(type,eventHandler,false)}}return eventHandler};var removeListener=_AT.removeListener=function(el,type,fn){if(el.detachEvent){el.detachEvent("on"+type,fn)}else{el.removeEventListener(type,fn,false)}};var stopEvent=_AT.stopEvent=function(evt){if(evt.preventDefault){evt.preventDefault()}else{evt.returnValue=false}return false};function htmlEntities(str){return String(str).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}var log=_AT.log=function(){var args=Array.prototype.slice.call(arguments),index,prepend=false,tempDiv,DOCUMENT_FRAGMENT_NODE=11;if(_AT.config.debug){if(typeof args[0]==="string"){args[0]="AT: "+args[0]}args[args.length]="| Executed at "+getCurrentTime();if((typeof args[0]==="object")&&(typeof args[0].options==="object")){if(debugWindow){if(args[0].options.prepend===true){prepend=true}if(args[0].options.style==="error"){args.splice(1,0,"<div style='color: red'>");args.push("</div>")}}args.shift()}if(debugWindow){for(index=0;index<args.length;index+=1){if(args[index].nodeType===DOCUMENT_FRAGMENT_NODE){tempDiv=document.createElement("div");tempDiv.appendChild(args[index]);args[index]=tempDiv}if(args[index]&&args[index].outerHTML){args[index]=htmlEntities(args[index].outerHTML)}if(typeof args[index]=="object"){args[index]="<pre>"+htmlEntities(JSON.stringify(args[index],null,"  "))+"</pre>"}}tempDiv=_AT.debugWindowDocument.createElement("div");tempDiv.innerText=args.join(" ");tempDiv.innerHTML+="<hr/>";if(prepend){_AT.debugWindowDocument.body.insertBefore(tempDiv,_AT.debugWindowDocument.body.childNodes[2])}else{_AT.debugWindowDocument.body.appendChild(tempDiv)}return}if(typeof console!=="undefined"){console.log.apply(console,args)}}};var error=_AT.errorLog=function(){if(typeof console!=="undefined"){var args=Array.prototype.slice.call(arguments);if(typeof args[0]==="string"){args[0]="AT: "+args[0]}console.error.apply(console,args)}};function _setText(element,content){element.innerHTML="";element.appendChild(document.createTextNode(content))}function applyAction(action,supressDebug){var type=action.action,contentType=action.contentType;action.numAttempts++;if(type==="trackLoad"){trackLoad(action.mboxName);return}var elems=querySelectorAll(action.selector);if(elems&&elems.length===1){if(!supressDebug){_AT.log("Will "+type+" on "+elems.length+" elements")}for(var i=0,n=elems.length,elem;i<n;i++){elem=elems[i];if(type==="setContent"){contentType=contentType||"html";_AT.log("Setting "+contentType+" content to fragment of ",action.content,"on",elem);if(contentType==="text"){_setText(elem,action.content)}else{elem.innerHTML=action.content}if(action.recsClickTrackId){elem.children[0].id=action.recsClickTrackId}executeScript(elem)}else{if(type==="remove"){log("Removing ",elem);if(elem.parentNode){elem.parentNode.removeChild(elem)}}else{if(type==="setAttribute"){log("Setting attribute",action.attribute,"to",action.value,"on",elem);if(actionIsToChangeImageSrc(action)){hideImageUntilIsLoaded({element:elem,src:action.value});return true}elem.setAttribute(action.attribute,action.value)}else{if(type==="setStyle"){log("Setting style",action.property,"to",action.value,"on",elem);if(elem.style.setProperty){elem.style.setProperty(action.property,action.value,action.priority||"")}else{elem.style[action.property]=action.value}}else{if(type==="trackSubmit"){log("Adding submit tracker on",elem,"with mbox",action.mboxName);addSubmitTracker(elem,action.mboxName)}else{if(type==="trackClick"){log("Adding click tracker on",elem,"with selector",action.selector);addClickTracker(elem,action)}else{if(type==="rearrange"){log("Rearraning item from",action.from,"to",action.to,"in",elem);return rearrange(action,elem)}else{if(type==="resize"){log("Resizing item",elem);resize(action,elem)}else{if(type==="move"){log("Moving element",elem,"top:",action.finalTopPosition,"left:",action.finalLeftPosition);move(action,elem)}else{if(type==="insertBefore"||type==="insertAfter"){log("Inserting ",(type==="insertBefore"?"before ":"after "),"fragment of ",action.content,"to element ",elem);insertElement(action,elem)}else{if(type==="customCode"){log("Adding custom code ",action.content,"to element ",elem);addCustomCode(action,elem)}else{if(type==="prependContent"){log("Prepending content ",action.content,"to element ",elem);elem.insertBefore(getFragment(action.content),elem.firstChild)}else{if(type==="replaceContent"&&elem.parentNode){log("Replacing content ",action.content,"to element ",elem);elem.parentNode.insertBefore(getFragment(action.content),elem);removeElement(elem)}}}}}}}}}}}}}}return elems.length}else{if(!supressDebug){log("Skipping "+type+", No element or More than 1 elements matched: "+action.selector)}}}var executeScript=function(element){var scripts=element.getElementsByTagName("script"),index,scriptSrc,async;for(index=0;index<scripts.length;index+=1){scriptSrc=scripts[index].src;async=scripts[index].getAttribute("async");try{if(scriptSrc){(async==="false")?loadScriptSynchronously(scriptSrc):loadScript(scriptSrc)}else{window.eval(scripts[index].innerHTML)}}catch(exception){log("Error occurred executing script: ",scripts[index],exception.message)}}};var actionIsToChangeImageSrc=function(actionJson){return actionJson.action=="setAttribute"&&actionJson.attribute=="src"};var preloadImage=function(actionJson){var cacheImage=document.createElement("img");cacheImage.src=actionJson.value};function hideImageUntilIsLoaded(imageObj){var image=imageObj.element,hasClass=(" "+image.className+" ").indexOf(" mboxDefault ")>-1;if(!hasClass){image.className+=" mboxDefault"}image.onload=function(){removeClassName(image,"mboxDefault");image.onload=""};image.src=imageObj.src}var removeClassName=function(elem,className){if(elem){elem.className=elem.className.replace(new RegExp("(?:^|\\s+)"+className+"(?:\\s+|$)","g"),"")}};var applyActions=_AT.applyActions=function(actions,removeWhenApplied){var action,isApplied;if(actions&&actions.length){lastActions=removeWhenApplied?[]:actions;for(var i=0,ni=actions.length;i<ni;i++){action=actions[i];isApplied=applyAction(action,removeWhenApplied);if(isApplied){showElementForAction(action)}if(action.numAttempts===_AT.config.numAttemptsToPreventFlicker){log("Allowed Unsuccessful Polling Attempts reached - Showing element: ",action);showElementForAction(action)}if(removeWhenApplied&&isApplied){lastActions.push(actions[i]);actions.splice(i,1);i--;ni--}}}else{log("No actions found")}};var prepareBeforeApplyingActions=function(actions){var index,actionJson,selector;log("Prepare Stage - Hiding Elements before applying actions: ",actions);for(index=0;index<=(actions.length-1);index++){actionJson=actions[index];actionJson.numAttempts=0;selector=actionJson.selector;if(actionIsToChangeImageSrc(actionJson)){preloadImage(actionJson)}if(actionJson.action==="setContent"||actionJson.action==="replaceContent"){var div=document.createElement("div");div.innerHTML=actionJson.content}if(selector.indexOf("CLKTRK#")===0){var firstSpaceIndex=selector.indexOf(" ");actionJson.selector=selector.substring(firstSpaceIndex+1);actionJson.recsClickTrackId=selector.substring(7,firstSpaceIndex)}if(actions[index].action!=="trackClick"){hideElementBeforeApplyingAction(actionJson)}}};var checkIfRedirectAction=function(actionObject){return actionObject.action==="redirect"};var checkIfCustomCodeAction=function(actionObject){return actionObject.action==="customCode"};var applyRedirectAction=function(redirectAction){if(!_AT.isRedirectedPage&&typeof mboxFactoryDefault!=="undefined"){mboxFactoryDefault.getCookieManager().setCookie("at-redirect-offer",window.location.toString(),30);log("_AT: Redirecting page to ",redirectAction.url,isPropertyTrue(redirectAction.includeAllUrlParameters)?"with query parameters":"without query parameters",isPropertyTrue(redirectAction.passMboxSession)?"with mbox session":"without mbox session");redirectPage(redirectAction,document.documentElement)}};var getFirstActionInActionJson=function(actions){return _AT.isArray(actions)?actions[0]:actions};var isArray=_AT.isArray=function(obj){var toString=Object.prototype.toString,nativeIsArray=Array.isArray;if(nativeIsArray){return nativeIsArray(obj)}return toString.call(obj)==="[object Array]"};var applyWhenReady=_AT.applyWhenReady=function(actions){var firstActionInActionJson=getFirstActionInActionJson(actions);if(checkIfRedirectAction(firstActionInActionJson)){applyRedirectAction(firstActionInActionJson);return}if(checkIfCustomCodeAction(firstActionInActionJson)&&firstActionInActionJson.selector==="HEAD"){addCustomCode(firstActionInActionJson,document.head);actions.splice(0,1)}prepareBeforeApplyingActions(actions);if(_AT.config.pollDOM){applyWithPolling(actions)}else{applyOnDOMReady(actions)}};var applyWithPolling=_AT.applyWithPolling=function(actions){log("Preparing to apply "+actions.length+" actions with polling...");log("Actions to be applied :",actions);var doApply=function(){if(_AT.actions.length){applyActions(_AT.actions,true)}else{clearPolling()}log(_AT.actions.length+" actions remaining")};_AT.actions=_AT.actions.concat(actions);if(!_AT.pollingIntervalId){_AT.pollingIntervalId=setInterval(doApply,_AT.config.pollTime);onReady(function(){clearPolling();if(_AT.actions.length){applyActions(_AT.actions,true)}if(_AT.config.showElementsOnDomReady){showAllHiddenElements(_AT.actions)}applyRemainingActionsWithCounter(_AT.actions)})}};var clearPolling=function(){clearInterval(_AT.pollingIntervalId);_AT.pollingIntervalId=null};var applyRemainingActionsWithCounter=function(actions){var counter=0,applyRemainingActionsInterval,logErrorConfig={options:{style:"error",prepend:true}},applyRemainingActions=function(){if(actions.length&&counter<_AT.config.tryAfterLoadMaxCount){applyActions(actions,true)}else{clearInterval(applyRemainingActionsInterval);if(actions.length){log(logErrorConfig,"Could not apply actions: ",actions);log(logErrorConfig,actions.length+" actions not applied after DOM load and polling!")}}counter+=1};if(actions.length){applyRemainingActionsInterval=setInterval(applyRemainingActions,_AT.config.pollTime)}};var applyOnDOMReady=_AT.applyOnDOMReady=function(actions){log("Waiting to apply "+actions.length+" actions until DOM ready...");onReady(function(){applyActions(actions,true);applyRemainingActionsWithCounter(actions)})};var getGlobalMboxName=_AT.getGlobalMboxName=function(){if(typeof TNT!=="undefined"&&typeof TNT.getGlobalMboxName==="function"){return TNT.getGlobalMboxName()}return"target-global-mbox"};var trackClick=_AT.trackClick=function(selector,parameters){var trackingUrl=getTrackingUrl(selector,parameters),isTrackingRequestSent=false,onBeforeUnloadHandler=function(){var jsonTrackingUrl,request;isTrackingRequestSent=true;jsonTrackingUrl=trackingUrl.replace("/ajax?","/json?");request=new XMLHttpRequest();request.open("GET",jsonTrackingUrl,false);request.send()};addListener(window,"beforeunload",onBeforeUnloadHandler);setTimeout(function(){var element;if(!isTrackingRequestSent){element=document.createElement("img");element.height=1;element.width=1;element.src=trackingUrl}removeListener(window,"beforeunload",onBeforeUnloadHandler)},_AT.config.trackingTimeout)};var getTrackingUrl=function(selector,parameters){var factory,mboxName,urlBuilder;if(!selector){log("Can't track click, no mbox name provided");return}factory=mboxFactories.get("default");mboxName=getGlobalMboxName();if(!factory.isEnabled()){log("Won't track click for "+mboxName+", default mbox is disabled");return}parameters=parameters||[];parameters.push("mbox="+mboxName+"-clicked");urlBuilder=factory.getUrlBuilder();urlBuilder.addParameters(parameters);factory.setVisitorIdParameters(urlBuilder,mboxName+"-clicked");urlBuilder.setServerType("ajax");return urlBuilder.buildUrl()};var trackLoad=function(mboxName){trackClick(mboxName)};var addSubmitTracker=function(elem,mboxName){if(elem.tagName!=="FORM"){log("Can't add submit tracking, element is not a form tag");return}var handler=function(evt){trackClick(mboxName,function(){removeListener(elem,"submit",handler);elem.submit()});return stopEvent(evt)};addListener(elem,"submit",handler);return false};var addClickTracker=function(elem,action){var selector=action.selector,clickTrackId=action.clickTrackId,params,handler;if(clickTrackId){params=["clickTrackId="+clickTrackId]}else{params=["target-click-url="+selector]}handler=function(){removeListener(elem,"click",handler);trackClick(selector,params)};addListener(elem,"click",handler);return false};var addInclude=function(el){var parent=(document.getElementsByTagName("head")||document.getElementsByTagName("body"))[0];parent.appendChild(el)};var getNextElementSibling=function(element){if(element.nextElementSibling){return element.nextElementSibling}do{element=element.nextSibling}while(element&&element.nodeType!==1);return element};var getPreviousElementSibling=function(element){if(element.previousElementSibling){return element.previousElementSibling}do{element=element.previousSibling}while(element&&element.nodeType!==1);return element};var rearrange=function(actionjson,elem){var containerElement=elem,draggedElement,droppedPositionElement,fromIndex=actionjson.from,toIndex=actionjson.to,childElements=containerElement.children,childElementsLength=childElements.length,newChildElements=[],index;for(index=0;index<childElementsLength;index++){if(childElements[index].nodeType!==8){newChildElements.push(childElements[index])}}draggedElement=newChildElements[fromIndex];droppedPositionElement=newChildElements[toIndex];if(fromIndex<toIndex){droppedPositionElement=getNextElementSibling(droppedPositionElement)}try{if(droppedPositionElement){containerElement.insertBefore(draggedElement,droppedPositionElement)}else{containerElement.appendChild(draggedElement)}}catch(e){return false}return true};var resize=function(actionjson,elem){var resizedElement=elem;resizedElement.style.height=actionjson.finalHeight;resizedElement.style.width=actionjson.finalWidth};var move=function(actionjson,elem){var movedElement=elem;if(actionjson.position){movedElement.style.position=actionjson.position}movedElement.style.left=actionjson.finalLeftPosition+"px";movedElement.style.top=actionjson.finalTopPosition+"px"};var insertElement=function(actionJson,elem){var content=actionJson.content,wrapperElement=document.createElement("div"),isInsertBefore=actionJson.action==="insertBefore",refElement=(isInsertBefore?elem:getNextElementSibling(elem));if((typeof actionJson.value!=="undefined")&&(actionJson.value!==null)){content='<img src="'+actionJson.value+'"></img>'}elem.parentNode.insertBefore(getFragment(content),refElement);if(actionJson.recsClickTrackId){(isInsertBefore?getPreviousElementSibling(elem):getNextElementSibling(elem)).id=actionJson.recsClickTrackId}wrapperElement.appendChild(getFragment(content));executeScript(wrapperElement)};var addCustomCode=function(actionJson,elem){var content=actionJson.content,isExecuted=false;if(elem.tagName==="HEAD"){isExecuted=appendToHead(content)}else{isExecuted=prependToBody(content,elem)}if(!isExecuted){wrapElementAndExecuteScript(content)}};var wrapElementAndExecuteScript=function(content){var wrapperElement=document.createElement("div");wrapperElement.innerHTML=content;executeScript(wrapperElement)};var appendToHead=function(content){var $=window.jQuery,contentFragment=getFragment(content);if($&&$.fn.append){$(document.head).append(content);return true}document.head.appendChild(contentFragment);return false};var prependToBody=function(content,firstElementInBody){var $=window.jQuery,contentFragment=getFragment(content);if($&&$.fn.prepend){$(document.body).prepend(content);return true}firstElementInBody.parentNode.insertBefore(contentFragment,firstElementInBody);return false};var redirectPage=function(action,elem){var searchString=window.location.search,redirectUrl=action.url;if(isPropertyTrue(action.includeAllUrlParameters)){redirectUrl=addParametersToURL(redirectUrl,searchString.substring(1))}if(isPropertyTrue(action.passMboxSession)){redirectUrl=addParametersToURL(redirectUrl,"mboxSession="+mboxFactoryDefault.getSessionId().getId())}elem.style.display="none";window.location.replace(redirectUrl)};var isPropertyTrue=function(property){return property==="true"||property===true};var addParametersToURL=_AT.addParametersToURL=function(url,params){var urlParts=url.split("#"),urlWithoutHash=urlParts[0],urlHash=urlParts[1];if(params&&!~urlWithoutHash.indexOf(params)){if(~urlWithoutHash.indexOf("?")){urlWithoutHash+="&"+params}else{urlWithoutHash+="?"+params}}return urlHash?urlWithoutHash+"#"+urlHash:urlWithoutHash};var getFragment=function(content,contentType){var container=document.createElement("div"),fragment=document.createDocumentFragment();if(contentType==="text"){_setText(container,content)}else{container.innerHTML=content}for(var i=container.childNodes.length-1;i>=0;i--){fragment.insertBefore(container.childNodes[i],fragment.firstChild)}return fragment};var appendStyle=function(cssRule,id){var head=document.getElementsByTagName("head")[0],style=document.createElement("style");style.type="text/css";style.id=id;if(style.styleSheet){style.styleSheet.cssText=cssRule}else{style.appendChild(document.createTextNode(cssRule))}head.appendChild(style);return style};var removeElement=function(element){return(element&&element.parentNode&&element.parentNode.removeChild(element))};var generateIdFromSelector=function(selector){var id=selector;id=id.replace("#","AT_");id=id.replace("HTML","AT_");id=id.replace(/[\s()>]/g,"");id=id.replace(/[.:]/g,"_");return id};var hideElementBeforeApplyingAction=function(actionJson){var cssSelector=actionJson.cssSelector,styleTagId,cssRule;cssSelector=cssSelector||(actionJson.selector.indexOf("eq")===-1?actionJson.selector:"");if(cssSelector){styleTagId=generateIdFromSelector(actionJson.selector);cssRule=cssSelector+" { visibility: hidden }";if(!document.getElementById(styleTagId)){appendStyle(cssRule,styleTagId)}}};var showAllHiddenElements=function(actions){for(var index=actions.length-1;index>=0;index--){showElementForAction(actions[index])}};var showElementForAction=function(actionJson){var styleTagId=generateIdFromSelector(actionJson.selector),styleElement=document.getElementById(styleTagId);removeElement(styleElement)};var loadScriptSynchronously=function(scriptURL){var script=document.createElement("script");script.type="text/javascript";try{script.text=getSyncScriptContent(scriptURL);addInclude(script)}catch(exception){throw exception}};var getSyncScriptContent=function(url){var request=new XMLHttpRequest(),type;request.open("GET",url,false);request.send(null);if(request.status!==200){throw new Error(request.statusText)}type=request.getResponseHeader("Content-Type");if(type&&!type.match(/javascript/)){throw new Error("Expected JavaScript content type, Got: "+type)}return request.responseText};var loadScript=_AT.loadScript=function(scriptURL,callback){var script=document.createElement("script");script.type="text/javascript";script.src=scriptURL;if(typeof callback==="function"){script.onload=callback}addInclude(script)};var loadCSS=_AT.loadCSS=function(cssURL,callback){var link=document.createElement("link");link.rel="stylesheet";link.type="text/css";link.href=cssURL;if(typeof callback==="function"){link.onload=callback}addInclude(link)};if(window!=top&&admin){var mboxToLoad=0,__mboxCreate,__mboxDefine,markMboxElement=function(mboxElement,mboxName){var mboxClass="mbox-name-"+mboxName;if(!mboxElement){return}if(!~mboxElement.className.indexOf(mboxClass)){mboxElement.className+=" "+mboxClass}if(!~mboxElement.className.indexOf("mboxDefault")){mboxElement.className+=" mboxDefault"}},onMboxLoadCallback=function(){markMboxElement(this.getDiv(),this.getName());mboxToLoad--;if(mboxToLoad===0){_AT.shouldDelayLoad=false}};if(typeof mboxCreate=="function"){__mboxCreate=mboxCreate;mboxCreate=function(name){var mbox=__mboxCreate.apply(undefined,arguments);if(mbox){_AT.shouldDelayLoad=true;mboxToLoad++;mbox.setOnLoad(onMboxLoadCallback)}}}if(typeof mboxDefine=="function"){__mboxDefine=mboxDefine;mboxDefine=function(elementId,name){var mbox=__mboxDefine.apply(undefined,arguments);mbox&&mbox.setOnLoad(function(){markMboxElement(this.getDiv(),this.getName())})}}document.addEventListener("click",function(evt){if(typeof _AT.clickHandlerForExperienceEditor==="function"){_AT.clickHandlerForExperienceEditor(evt)}},true);loadScript("//"+_AT.config.atServer+_AT.config.atLocation+"/target-vec.js")}_AT.targetJSLoaded=true}());(function(){if(typeof mboxVersion!="undefined"&&mboxVersion>=43&&mboxVersion<47){var b=mboxVizTargetUrl("target-global-mbox");if(b){var a='<script src="'+b+'"><\/script>';document.write(a)}}})();