﻿/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
/*
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.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\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<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>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();

//Omniture s_code.js
/* SiteCatalyst code version: H.5.
Copyright 1997-2006 Omniture, Inc. 
More info available at http://www.omniture.com */
/* Specify the Report Suite ID(s) to track here */

var s_account = "";

if(document.domain.indexOf("www.rods.com") > -1) {
	s_account = "rodscom";
}
else {
	s_account = "rodscomdev";
}


var s=s_gi(s_account)
/************************** CONFIG SECTION **************************/
s.trackDownloadLinks=true
s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"
s.trackExternalLinks=true
if(document.domain == "www.rods.com") {
	s.linkInternalFilters="javascript:,rods.com"
}
else {
	s.linkInternalFilters="javascript:,."
}	
 
s.trackInlineStats=true
s.linkLeaveQueryString=false
s.linkTrackVars="None"
s.linkTrackEvents="None"
s.charSet=""
s.currencyCode=""

/* WARNING: Changing the visitor namespace will cause drastic changes
to how your visitor data is collected.  Changes should only be made
when instructed to do so by your account manager.*/
s.visitorNamespace="rodswesternpalace"

/* Plugin Config */
s.usePlugins=true
function s_doPlugins(s) {
	/* Add calls to plugins here */
	
	/* Plugin Example: getQueryParam v2.0 */
	s.campaign=s.getQueryParam('ns_cn')
	s.eVar5=s.getValOnce(s.prop1,"s_rid",0)
	

}
s.doPlugins=s_doPlugins

/************************** PLUGINS SECTION *************************/

/*

 * Plugin: getValOnce 0.2 - get a value once per session or number of days

 */

s.getValOnce=new Function("v","c","e",""

+"var s=this,k=s.c_r(c),a=new Date;e=e?e:0;if(v){a.setTime(a.getTime("

+")+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v");



/*
 * Plugin: getQueryParam 2.0 - return query string parameter(s)
 */
s.getQueryParam=new Function("p","d","u",""
+"var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:''+s.wd.loc"
+"ation);u=u=='f'?''+s.gtfs().location:u;while(p){i=p.indexOf(',');i="
+"i<0?p.length:i;t=s.p_gpv(p.substring(0,i),u);if(t)v+=v?d+t:t;p=p.su"
+"bstring(i==p.length?i:i+1)}return v");
s.p_gpv=new Function("k","u",""
+"var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v"
+"=s.pt(q,'&','p_gvf',k)}return v");
s.p_gvf=new Function("t","k",""
+"if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T"
+"rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s."
+"epa(v)}return ''");

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_objectID;function s_c2fe(f){var x='',s=0,e,a,b,c;while(1){e=
f.indexOf('"',s);b=f.indexOf('\\',s);c=f.indexOf("\n",s);if(e<0||(b>=
0&&b<e))e=b;if(e<0||(c>=0&&c<e))e=c;if(e>=0){x+=(e>s?f.substring(s,e):
'')+(e==c?'\\n':'\\'+f.substring(e,e+1));s=e+1}else return x
+f.substring(s)}return f}function s_c2fa(f){var s=f.indexOf('(')+1,e=
f.indexOf(')'),a='',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==',')
a+='","';else if(("\n\r\t ").indexOf(c)<0)a+=c;s++}return a?'"'+a+'"':
a}function s_c2f(cc){cc=''+cc;var fc='var f=new Function(',s=
cc.indexOf(';',cc.indexOf('{')),e=cc.lastIndexOf('}'),o,a,d,q,c,f,h,x
fc+=s_c2fa(cc)+',"var s=new Object;';c=cc.substring(s+1,e);s=
c.indexOf('function');while(s>=0){d=1;q='';x=0;f=c.substring(s);a=
s_c2fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(
q){if(h==q&&!x)q='';if(h=='\\')x=x?0:1;else x=0}else{if(h=='"'||h=="'"
)q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)
+'new Function('+(a?a+',':'')+'"'+s_c2fe(c.substring(o+1,e))+'")'
+c.substring(e+1);s=c.indexOf('function')}fc+=s_c2fe(c)+';return s");'
eval(fc);return f}function s_gi(un,pg,ss){var c="function s_c(un,pg,s"
+"s){var s=this;s.wd=window;if(!s.wd.s_c_in){s.wd.s_c_il=new Array;s."
+"wd.s_c_in=0;}s._il=s.wd.s_c_il;s._in=s.wd.s_c_in;s._il[s._in]=s;s.w"
+"d.s_c_in++;s.m=function(m){return (''+m).indexOf('{')<0};s.fl=funct"
+"ion(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){if(!o)r"
+"eturn o;var n=new Object,x;for(x in o)if(x.indexOf('select')<0&&x.i"
+"ndexOf('filter')<0)n[x]=o[x];return n};s.num=function(x){x=''+x;for"
+"(var p=0;p<x.length;p++)if(('0123456789').indexOf(x.substring(p,p+1"
+"))<0)return 0;return 1};s.rep=function(x,o,n){var i=x.indexOf(o),l="
+"n.length>0?n.length:1;while(x&&i>=0){x=x.substring(0,i)+n+x.substri"
+"ng(i+o.length);i=x.indexOf(o,i+l)}return x};s.ape=function(x){var s"
+"=this,i;x=x?s.rep(escape(''+x),'+','%2B'):x;if(x&&s.charSet&&s.em=="
+"1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>="
+"0){i++;if(('89ABCDEFabcdef').indexOf(x.substring(i,i+1))>=0)return "
+"x.substring(0,i)+'u00'+x.substring(i);i=x.indexOf('%',i)}}return x}"
+";s.epa=function(x){var s=this;return x?unescape(s.rep(''+x,'+',' ')"
+"):x};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.ind"
+"exOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s.m(f)?s[f](t,a):f(t,"
+"a);if(r)return r;z+=y+d.length;t=x.substring(z,x.length);t=z<x.leng"
+"th?t:''}return ''};s.isf=function(t,a){var c=a.indexOf(':');if(c>=0"
+")a=a.substring(0,c);if(t.substring(0,2)=='s_')t=t.substring(2);retu"
+"rn (t!=''&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf"
+"',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s"
+"=this;s.fsg='';s.pt(x,',','fsf',f);return s.fsg};s.c_d='';s.c_gdf=f"
+"unction(t,a){var s=this;if(!s.num(t))return 1;return 0};s.c_gd=func"
+"tion(){var s=this,d=s.wd.location.hostname,n=s.fpCookieDomainPeriod"
+"s,p;if(!n)n=s.cookieDomainPeriods;if(d&&!s.c_d){n=n?parseInt(n):2;n"
+"=n>2?n:2;p=d.lastIndexOf('.');while(p>=0&&n>1){p=d.lastIndexOf('.',"
+"p-1);n--}s.c_d=p>0&&s.pt(d,'.','c_gdf',0)?d.substring(p):d}return s"
+".c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,"
+"i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.su"
+"bstring(i+2+k.length,e<0?c.length:e));return v!='[[B]]'?v:''};s.c_w"
+"=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;"
+"l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''"
+"?parseInt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*100"
+"0))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; pa"
+"th=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' do"
+"main='+d+';':'');return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f"
+"){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Arra"
+"y;l=s.ehl;for(i=0;i<l.length&&n<0;i++){if(l[i].o==o&&l[i].e==e)n=i}"
+"if(n<0){n=i;l[n]=new Object}x=l[n];x.o=o;x.e=e;f=r?x.b:f;if(r||f){x"
+".b=r?0:o[e];x.o[e]=f}if(x.b){x.o[b]=x.b;return b}return 0};s.cet=fu"
+"nction(f,a,t,o,b){var s=this,r;if(s.apv>=5&&(!s.isopera||s.apv>=7))"
+"eval('try{r=s.m(f)?s[f](a):f(a)}catch(e){r=s.m(t)?s[t](e):t(e)}');e"
+"lse{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s.m(b)?s[b](a):b(a);else"
+"{s.eh(s.wd,'onerror',0,o);r=s.m(f)?s[f](a):f(a);s.eh(s.wd,'onerror'"
+",1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfs"
+"oe=new Function('e','var s=s_c_il['+s._in+'];s.eh(window,\"onerror"
+"\",1);s.etfs=1;var c=s.t();if(c)s.d.write(c);s.etfs=0;return true')"
+";s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this"
+",p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.ho"
+"st==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=func"
+"tion(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtf"
+"sf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.ca=function()"
+"{var s=this,imn='s_i_'+s.fun;if(s.d.images&&s.apv>=3&&(!s.isopera||"
+"s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){s.ios=1;if(!s.d.images[imn]&&(!s."
+"isns||(s.apv<4||s.apv>=5))){s.d.write('<im'+'g name=\"'+imn+'\" hei"
+"ght=1 width=1 border=0 alt=\"\">');if(!s.d.images[imn])s.ios=0}}};s"
+".mr=function(sess,q,ta){var s=this,ns=s.visitorNamespace,unc=s.rep("
+"s.fun,'_','-'),imn='s_i_'+s.fun,im,b,e,rs='http'+(s.ssl?'s':'')+':/"
+"/'+(s.ssl?'metrics':'metric')+'.rods.com/b/ss/'+s.un+'/1/H.5-pdv-"
+"2/'+sess+'?[AQB]&ndh=1'+(q?q:'')+(s.q?s.q:'')+'&[AQE]';if(s.isie&&!"
+"s.ismac){if(s.apv>5.5)rs=s.fl(rs,4095);else rs=s.fl(rs,2047)}if(s.i"
+"os){if (!s.ss)s.ca();im=s.wd[imn]?s.wd[imn]:s.d.images[imn];if(!im)"
+"im=s.wd[imn]=new Image;im.src=rs;if(rs.indexOf('&pe=')>=0&&(!ta||ta"
+"=='_self'||ta=='_top'||(s.wd.name&&ta==s.wd.name))){b=e=new Date;wh"
+"ile(e.getTime()-b.getTime()<500)e=new Date}return ''}return '<im'+'"
+"g sr'+'c=\"'+rs+'\" width=1 height=1 border=0 alt=\"\">'};s.gg=func"
+"tion(v){var s=this;return s.wd['s_'+v]};s.glf=function(t,a){if(t.su"
+"bstring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]="
+"v};s.gl=function(v){var s=this;s.pt(v,',','glf',0)};s.gv=function(v"
+"){var s=this;return s['vpm_'+v]?s['vpv_'+v]:(s[v]?s[v]:'')};s.havf="
+"function(t,a){var s=this,b=t.substring(0,4),x=t.substring(4),n=pars"
+"eInt(x),k='g_'+t,m='vpm_'+t,q=t,v=s.linkTrackVars,e=s.linkTrackEven"
+"ts;s[k]=s.gv(t);if(s.lnk||s.eo){v=v?v+','+s.vl_l:'';if(v&&!s.pt(v,'"
+",','isf',t))s[k]='';if(t=='events'&&e)s[k]=s.fs(s[k],e)}s[m]=0;if(t"
+"=='pageURL')q='g';else if(t=='referrer')q='r';else if(t=='vmk')q='v"
+"mt';else if(t=='charSet'){q='ce';if(s[k]&&s.em==2)s[k]='UTF-8'}else"
+" if(t=='visitorNamespace')q='ns';else if(t=='cookieDomainPeriods')q"
+"='cdp';else if(t=='cookieLifetime')q='cl';else if(t=='variableProvi"
+"der')q='vvp';else if(t=='currencyCode')q='cc';else if(t=='channel')"
+"q='ch';else if(t=='campaign')q='v0';else if(s.num(x)) {if(b=='prop'"
+")q='c'+n;else if(b=='eVar')q='v'+n;else if(b=='hier'){q='h'+n;s[k]="
+"s.fl(s[k],255)}}if(s[k]&&t!='linkName'&&t!='linkType')s.qav+='&'+q+"
+"'='+s.ape(s[k]);return ''};s.hav=function(){var s=this;s.qav='';s.p"
+"t(s.vl_t,',','havf',0);return s.qav};s.lnf=function(t,h){t=t?t.toLo"
+"werCase():'';h=h?h.toLowerCase():'';var te=t.indexOf('=');if(t&&te>"
+"0&&h.indexOf(t.substring(te+1))>=0)return t.substring(0,te);return "
+"''};s.ln=function(h){var s=this,n=s.linkNames;if(n)return s.pt(n,',"
+"','lnf',h);return ''};s.ltdf=function(t,h){t=t?t.toLowerCase():'';h"
+"=h?h.toLowerCase():'';var qi=h.indexOf('?');h=qi>=0?h.substring(0,q"
+"i):h;if(t&&h.substring(h.length-(t.length+1))=='.'+t)return 1;retur"
+"n 0};s.ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase("
+"):'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var "
+"s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s."
+"linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toLowerC"
+"ase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return '"
+"d';if(s.trackExternalLinks&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',"
+"h))&&(!lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.lc=new"
+" Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.l"
+"nk=s.co(this);s.t();s.lnk=0;if(b)return this[b](e);return true');s."
+"bc=new Function('e','var s=s_c_il['+s._in+'],f;if(s.d&&s.d.all&&s.d"
+".all.cppXYctnr)return;s.eo=e.srcElement?e.srcElement:e.target;eval("
+"\"try{if(s.eo&&(s.eo.tagName||s.eo.parentElement||s.eo.parentNode))"
+"s.t()}catch(f){}\");s.eo=0');s.ot=function(o){var a=o.type,b=o.tagN"
+"ame;return (a&&a.toUpperCase?a:b&&b.toUpperCase?b:o.href?'A':'').to"
+"UpperCase()};s.oid=function(o){var s=this,t=s.ot(o),p=o.protocol,c="
+"o.onclick,n='',x=0;if(!o.s_oid){if(o.href&&(t=='A'||t=='AREA')&&(!c"
+"||!p||p.toLowerCase().indexOf('javascript')<0))n=o.href;else if(c){"
+"n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),"
+"' ','');x=2}else if(o.value&&(t=='INPUT'||t=='SUBMIT')){n=o.value;x"
+"=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_"
+"oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf"
+"('='),u=e>=0?','+t.substring(0,e)+',':'';return u&&u.indexOf(','+un"
+"+',')>=0?s.epa(t.substring(e+1)):''};s.rq=function(un){var s=this,c"
+"=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf"
+"',un);return s.pt(un,',','rq',0)};s.sqp=function(t,a){var s=this,e="
+"t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0"
+")s.pt(t.substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){"
+"var s=this;s.squ[un]=q;return 0};s.sq=function(q){var s=this,k='s_s"
+"q',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s"
+".pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)s.sqq"
+"[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&s.sqq[x"
+"]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq[x]+'='+s.ape(x);c++}return s.c_"
+"w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b="
+"s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i<s.d.links."
+"length;i++){o=s.d.links[i];oc=o.onclick?\"\"+o.onclick:\"\";if((oc."
+"indexOf(\"s_gs(\")<0||oc.indexOf(\".s_oc(\")>=0)&&oc.indexOf(\".tl("
+"\")<0)s.eh(o,\"onclick\",0,s.lc);}return r');s.wds=function(){var s"
+"=this;if(s.apv>3&&(!s.isie||!s.ismac||s.apv>=5)){if(s.b&&s.b.attach"
+"Event)s.b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventList"
+"ener)s.b.addEventListener('click',s.bc,false);else s.eh(s.wd,'onloa"
+"d',0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.v"
+"isitorSamplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new D"
+"ate,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!"
+"n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s."
+"dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s."
+"dyasf=function(t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i>=0&&m"
+"){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',"
+"m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccoun"
+"tSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un."
+"toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase"
+")m=''+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m)"
+";if(n)s.un=n}i=s.un.indexOf(',');s.fun=i<0?s.un:s.un.substring(0,i)"
+"};s.t=function(){var s=this,trk=1,tm=new Date,sed=Math&&Math.random"
+"?Math.floor(Math.random()*10000000000000):tm.getTime(),sess='s'+Mat"
+"h.floor(tm.getTime()/10800000)%10+sed,yr=tm.getYear(),vt=tm.getDate"
+"()+'/'+tm.getMonth()+'/'+(yr<1900?yr+1900:yr)+' '+tm.getHours()+':'"
+"+tm.getMinutes()+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTime"
+"zoneOffset(),tfs=s.gtfs(),ta='',q='',qs='';s.uns();if(!s.q){var tl="
+"tfs.location,x='',c='',v='',p='',bw='',bh='',j='1.0',k=s.c_w('s_cc'"
+",'true',0)?'Y':'N',hp='',ct='',pn=0,ps;if(s.apv>=4)x=screen.width+'"
+"x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){j='1.1';v=s.n.j"
+"avaEnabled()?'Y':'N';if(s.apv>=4){j='1.2';c=screen.pixelDepth;bw=s."
+"wd.innerWidth;bh=s.wd.innerHeight;if(s.apv>=4.06)j='1.3'}}s.pl=s.n."
+"plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?'Y':'N';j="
+"'1.2';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offse"
+"tWidth;bh=s.d.documentElement.offsetHeight;j='1.3';if(!s.ismac&&s.b"
+"){s.b.addBehavior('#default#homePage');hp=s.b.isHomePage(tl)?\"Y\":"
+"\"N\";s.b.addBehavior('#default#clientCaps');ct=s.b.connectionType}"
+"}}else r=''}if(s.pl)while(pn<s.pl.length&&pn<30){ps=s.fl(s.pl[pn].n"
+"ame,100)+';';if(p.indexOf(ps)<0)p+=ps;pn++}s.q=(x?'&s='+s.ape(x):''"
+")+(c?'&c='+s.ape(c):'')+(j?'&j='+j:'')+(v?'&v='+v:'')+(k?'&k='+k:''"
+")+(bw?'&bw='+bw:'')+(bh?'&bh='+bh:'')+(ct?'&ct='+s.ape(ct):'')+(hp?"
+"'&hp='+hp:'')+(p?'&p='+s.ape(p):'')}if(s.usePlugins)s.doPlugins(s);"
+"var l=s.wd.location,r=tfs.document.referrer;if(!s.pageURL)s.pageURL"
+"=s.fl(l?l:'',255);if(!s.referrer)s.referrer=s.fl(r?r:'',255);if(s.l"
+"nk||s.eo){var o=s.eo?s.eo:s.lnk;if(!o)return '';var p=s.gv('pageNam"
+"e'),w=1,t=s.ot(o),n=s.oid(o),x=o.s_oidt,h,l,i,oc;if(s.eo&&o==s.eo){"
+"while(o&&!n&&t!='BODY'){o=o.parentElement?o.parentElement:o.parentN"
+"ode;if(!o)return '';t=s.ot(o);n=s.oid(o);x=o.s_oidt}oc=o.onclick?''"
+"+o.onclick:'';if((oc.indexOf(\"s_gs(\")>=0&&oc.indexOf(\".s_oc(\")<"
+"0)||oc.indexOf(\".tl(\")>=0)return ''}ta=o.target;h=o.href?o.href:'"
+"';i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i)"
+";l=s.linkName?s.linkName:s.ln(h);t=s.linkType?s.linkType.toLowerCas"
+"e():s.lt(h);if(t&&(h||l))q+='&pe=lnk_'+(t=='d'||t=='e'?s.ape(t):'o'"
+")+(h?'&pev1='+s.ape(h):'')+(l?'&pev2='+s.ape(l):'');else trk=0;if(s"
+".trackInlineStats){if(!p){p=s.gv('pageURL');w=0}t=s.ot(o);i=o.sourc"
+"eIndex;if(s.gg('objectID')){n=s.gg('objectID');x=1;i=1}if(p&&n&&t)q"
+"s='&pid='+s.ape(s.fl(p,255))+(w?'&pidt='+w:'')+'&oid='+s.ape(s.fl(n"
+",100))+(x?'&oidt='+x:'')+'&ot='+s.ape(t)+(i?'&oi='+i:'')}}if(!trk&&"
+"!qs)return '';var code='';if(trk&&s.vs(sed))code=s.mr(sess,(vt?'&t="
+"'+s.ape(vt):'')+s.hav()+q+(qs?qs:s.rq(s.un)),ta);s.sq(trk?'':qs);s."
+"lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID='';return code};s.tl"
+"=function(o,t,n){var s=this;s.lnk=s.co(o);s.linkType=t;s.linkName=n"
+";s.t()};s.ssl=(s.wd.location.protocol.toLowerCase().indexOf('https'"
+")>=0);s.d=document;s.b=s.d.body;s.n=navigator;s.u=s.n.userAgent;s.n"
+"s6=s.u.indexOf('Netscape6/');var apn=s.n.appName,v=s.n.appVersion,i"
+"e=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera'"
+")>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft Internet Explorer');s"
+".isns=(apn=='Netscape');s.isopera=(apn=='Opera');s.ismac=(s.u.index"
+"Of('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(i"
+"e>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloa"
+"t(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else"
+" s.apv=parseFloat(v);s.em=0;if(String.fromCharCode){i=escape(String"
+".fromCharCode(256)).toUpperCase();s.em=(i=='%C4%80'?2:(i=='%U0100'?"
+"1:0))}s.un=un;s.uns();s.vl_l='vmk,charSet,visitorNamespace,cookieDo"
+"mainPeriods,cookieLifetime,pageName,pageURL,referrer,currencyCode,p"
+"urchaseID';s.vl_t=s.vl_l+',variableProvider,channel,server,pageType"
+",campaign,state,zip,events,products,linkName,linkType';for(var n=1;"
+"n<51;n++)s.vl_t+=',prop'+n+',eVar'+n+',hier'+n;s.vl_g=s.vl_t+',trac"
+"kDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQuerySt"
+"ring,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,"
+"linkNames';if(pg)s.gl(s.vl_g);s.ss=ss;if(!ss){s.wds();s.ca()}}",
l=window.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf(
'MSIE '),m=u.indexOf('Netscape6/'),a,i,s;if(l)for(i=0;i<l.length;i++){
s=l[i];s.uns();if(s.un==un)return s;else if(s.pt(s.un,',','isf',un)){
s=s.co(s);s.un=un;s.uns();return s}}if(e>0){a=parseInt(i=v.substring(e
+5));if(a>3)a=parseFloat(i)}else if(m>0)a=parseFloat(u.substring(m+10)
);else a=parseFloat(v);if(a>=5&&v.indexOf('Opera')<0&&u.indexOf(
'Opera')<0){eval(c);return new s_c(un,pg,ss)}else s=s_c2f(c);return s(
un,pg,ss)}

//google analytics
(function(){var aa="_gat",ba="_gaq",r=true,v=false,w=undefined,ca=document,da="4.7.2",y="length",z="cookie",A="location",ea="_gaUserPrefs",fa="ioo",B="&",C="=",D="__utma=",F="__utmb=",G="__utmc=",ga="__utmk=",H="__utmv=",K="__utmz=",L="__utmx=",ha="GASO=";var M=function(i){return w==i||"-"==i||""==i},ia=function(i){return i[y]>0&&" \n\r\t".indexOf(i)>-1},O=function(i,f,m){var u="-",l;if(!M(i)&&!M(f)&&!M(m)){l=i.indexOf(f);if(l>-1){m=i.indexOf(m,l);if(m<0)m=i[y];u=N(i,l+f.indexOf(C)+1,m)}}return u},ka=function(i){var f=v,m=0,u,l;if(!M(i)){f=r;for(u=0;u<i[y];u++){l=i.charAt(u);m+="."==l?1:0;f=f&&m<=1&&(0==u&&"-"==l||".0123456789".indexOf(l)>-1)}}return f},P=function(i,f){var m=encodeURIComponent;return m instanceof Function?f?encodeURI(i):m(i):escape(i)},
Q=function(i,f){var m=decodeURIComponent,u;i=i.split("+").join(" ");if(m instanceof Function)try{u=f?decodeURI(i):m(i)}catch(l){u=unescape(i)}else u=unescape(i);return u},R=function(i,f){return i.indexOf(f)>-1},S=function(i,f){i[i[y]]=f},U=function(i){return i.toLowerCase()},V=function(i,f){return i.split(f)},la=function(i,f){return i.indexOf(f)},N=function(i,f,m){m=w==m?i[y]:m;return i.substring(f,m)},ma=function(i,f){return i.join(f)},na=function(i){var f=1,m=0,u;if(!M(i)){f=0;for(u=i[y]-1;u>=0;u--){m=
i.charCodeAt(u);f=(f<<6&268435455)+m+(m<<14);m=f&266338304;f=m!=0?f^m>>21:f}}return f},oa=function(){var i=window,f=w;if(i&&i.gaGlobal&&i.gaGlobal.hid)f=i.gaGlobal.hid;else{f=W();i.gaGlobal=i.gaGlobal?i.gaGlobal:{};i.gaGlobal.hid=f}return f},W=function(){return Math.round(Math.random()*2147483647)},pa=function(i,f){var m=ca.createElement("script");m.type="text/javascript";m.src=i;if(f)m.id=f;(ca.getElementsByTagName("head")[0]||ca.getElementsByTagName("body")[0]).appendChild(m)};var ra=function(i,f){this.Wa=i;this.jb=f},sa=function(){function i(m){var u=[];m=m.split(",");for(var l,o=0;o<m.length;o++){l=m[o].split(":");u.push(new ra(l[0],l[1]))}return u}var f=this;f.Ba="utm_campaign";f.Ca="utm_content";f.Da="utm_id";f.Ea="utm_medium";f.Fa="utm_nooverride";f.Ga="utm_source";f.Ha="utm_term";f.Ia="gclid";f.Y=0;f.z=0;f.Ma=15768E6;f.pb=18E5;f.w=63072E6;f.oa=[];f.qa=[];f.ac="cse";f.bc="q";f.kb=5;f.R=i("daum:q,eniro:search_word,naver:query,images.google:q,google:q,yahoo:p,msn:q,bing:q,aol:query,aol:encquery,lycos:query,ask:q,altavista:q,netscape:query,cnn:query,about:terms,mamma:query,alltheweb:q,voila:rdata,virgilio:qs,live:q,baidu:wd,alice:qs,yandex:text,najdi:q,aol:q,mama:query,seznam:q,search:q,wp:szukaj,onet:qt,szukacz:q,yam:k,pchome:q,kvasir:q,sesam:q,ozu:q,terra:query,mynet:q,ekolay:q,rambler:words");
f.u=w;f.hb=v;f.h="/";f.S=100;f.ja="/__utm.gif";f.aa=1;f.ba=1;f.v="|";f.$=1;f.Na=1;f.Ka=1;f.c="auto";f.G=1;f.ma=1E3;f.wc=10;f.Hb=10;f.xc=0.2;f.o=w;f.a=document;f.e=window};var ta=function(i){function f(d,a,j,c){var n="",s=0;n=O(d,"2"+a,";");if(!M(n)){d=n.indexOf("^"+j+".");if(d<0)return["",0];n=N(n,d+j[y]+2);if(n.indexOf("^")>0)n=n.split("^")[0];j=n.split(":");n=j[1];s=parseInt(j[0],10);if(!c&&s<o.s)n=""}if(M(n))n="";return[n,s]}function m(d,a){return"^"+ma([[a,d[1]].join("."),d[0]],":")}function u(d,a){var j=d+"; path="+k.h+"; "+a+o.ab();k.a[z]=j}function l(d){var a=new Date;d=new Date(a.getTime()+d);return"expires="+d.toGMTString()+"; "}var o=this,k=i;o.s=(new Date).getTime();
var g=[D,F,G,K,H,L,ha];o.k=function(){var d=k.a[z];return k.o?o.Ob(d,k.o):d};o.Ob=function(d,a){var j=[],c,n;for(c=0;c<g[y];c++){n=f(d,g[c],a)[0];M(n)||(j[j[y]]=g[c]+n+";")}return j.join("")};o.m=function(d,a,j){var c=j>0?l(j):"";if(k.o){a=o.Yb(k.a[z],d,k.o,a,j);d="2"+d;c=j>0?l(k.w):""}u(d+a,c)};o.Yb=function(d,a,j,c,n){var s="";n=n||k.w;c=m([c,o.s+n*1],j);s=O(d,"2"+a,";");if(!M(s)){d=m(f(d,a,j,r),j);s=ma(s.split(d),"");return s=c+s}return c};o.ab=function(){return M(k.c)?"":"domain="+k.c+";"}};var ua=function(i){function f(q){q=q instanceof Array?q.join("."):"";return M(q)?"-":q}function m(q,b){var e=[],h;if(!M(q)){e=q.split(".");if(b)for(h=0;h<e[y];h++)ka(e[h])||(e[h]="-")}return e}function u(q,b,e){var h=c.K,p,t;for(p=0;p<h[y];p++){t=h[p][0];t+=M(b)?b:b+h[p][4];h[p][2](O(q,t,e))}}var l,o,k,g,d,a,j,c=this,n,s=i;c.j=new ta(i);c.gb=function(){return w==n||n==c.N()};c.k=function(){return c.j.k()};c.ha=function(){return d?d:"-"};c.sb=function(q){d=q};c.ua=function(q){n=ka(q)?q*1:"-"};c.ga=
function(){return f(a)};c.va=function(q){a=m(q)};c.Nb=function(){c.j.m(H,"",-1)};c.Zb=function(){return n?n:"-"};c.ab=function(){return M(s.c)?"":"domain="+s.c+";"};c.ea=function(){return f(l)};c.qb=function(q){l=m(q,1)};c.B=function(){return f(o)};c.ta=function(q){o=m(q,1)};c.fa=function(){return f(k)};c.rb=function(q){k=m(q,1)};c.ia=function(){return f(g)};c.tb=function(q){g=m(q);for(q=0;q<g[y];q++)if(q<4&&!ka(g[q]))g[q]="-"};c.Vb=function(){return j};c.qc=function(q){j=q};c.Kb=function(){l=[];
o=[];k=[];g=[];d=w;a=[];n=w};c.N=function(){var q="",b;for(b=0;b<c.K[y];b++)q+=c.K[b][1]();return na(q)};c.pa=function(q){var b=c.k(),e=v;if(b){u(b,q,";");c.ua(c.N());e=r}return e};c.mc=function(q){u(q,"",B);c.ua(O(q,ga,B))};c.uc=function(){var q=c.K,b=[],e;for(e=0;e<q[y];e++)S(b,q[e][0]+q[e][1]());S(b,ga+c.N());return b.join(B)};c.Bc=function(q,b){var e=c.K,h=s.h,p;c.pa(q);s.h=b;for(p=0;p<e[y];p++)M(e[p][1]())||e[p][3]();s.h=h};c.Ab=function(){c.j.m(D,c.ea(),s.w)};c.ya=function(){c.j.m(F,c.B(),s.pb)};
c.Bb=function(){c.j.m(G,c.fa(),0)};c.Aa=function(){c.j.m(K,c.ia(),s.Ma)};c.Cb=function(){c.j.m(L,c.ha(),s.w)};c.za=function(){c.j.m(H,c.ga(),s.w)};c.Dc=function(){c.j.m(ha,c.Vb(),0)};c.K=[[D,c.ea,c.qb,c.Ab,"."],[F,c.B,c.ta,c.ya,""],[G,c.fa,c.rb,c.Bb,""],[L,c.ha,c.sb,c.Cb,""],[K,c.ia,c.tb,c.Aa,"."],[H,c.ga,c.va,c.za,"."]]};var wa=function(i){var f=this,m=i,u=new ua(m),l=!X.Cc(),o=function(){},k=function(g){var d=(new Date).getTime(),a;a=(d-g[3])*(m.xc/1E3);if(a>=1){g[2]=Math.min(Math.floor(g[2]*1+a),m.Hb);g[3]=d}return g};f.F=function(g,d,a,j,c,n){var s,q=m.G,b=m.a[A];u.pa(a);s=V(u.B(),".");if(s[1]<500||j){if(c)s=k(s);if(j||!c||s[2]>=1){if(!j&&c)s[2]=s[2]*1-1;s[1]=s[1]*1+1;g="?utmwv="+da+"&utmn="+W()+(M(b.hostname)?"":"&utmhn="+P(b.hostname))+(m.S==100?"":"&utmsp="+P(m.S))+g;if(0==q||2==q){j=2==q?o:n||o;l&&f.Ta(m.ja+
g,j)}if(1==q||2==q){g=("https:"==b.protocol?"https://ssl.google-analytics.com/__utm.gif":"http://www.google-analytics.com/__utm.gif")+g+"&utmac="+d+"&utmcc="+f.Rb(a);if(va)g+="&gaq=1";if(X.Va)g+="&aip=1";l&&f.Ta(g,n)}}}u.ta(s.join("."));u.ya()};f.Ta=function(g,d){var a=new Image(1,1);a.src=g;a.onload=function(){a.onload=null;(d||o)()}};f.Rb=function(g){var d=[],a=[D,K,H,L],j,c=u.k(),n;for(j=0;j<a[y];j++){n=O(c,a[j]+g,";");if(!M(n)){if(a[j]==H){n=V(n.split(g+".")[1],"|")[0];if(M(n))continue;n=g+"."+
n}S(d,a[j]+n+";")}}return P(d.join("+"))}};var Y=function(){var i=this;i.W=[];i.db=function(f){var m,u=i.W,l;for(l=0;l<u.length;l++)m=f==u[l].q?u[l]:m;return m};i.Gb=function(f,m,u,l,o,k,g,d){var a=i.db(f);if(w==a){a=new Y.Eb(f,m,u,l,o,k,g,d);S(i.W,a)}else{a.Ja=m;a.xb=u;a.wb=l;a.ub=o;a.Qa=k;a.vb=g;a.Sa=d}return a}};Y.Db=function(i,f,m,u,l,o){var k=this;k.zb=i;k.wa=f;k.r=m;k.Oa=u;k.mb=l;k.nb=o;k.xa=function(){return"&"+["utmt=item","tid="+P(k.zb),"ipc="+P(k.wa),"ipn="+P(k.r),"iva="+P(k.Oa),"ipr="+P(k.mb),"iqt="+P(k.nb)].join("&utm")}};
Y.Eb=function(i,f,m,u,l,o,k,g){var d=this;d.q=i;d.Ja=f;d.xb=m;d.wb=u;d.ub=l;d.Qa=o;d.vb=k;d.Sa=g;d.P=[];d.Fb=function(a,j,c,n,s){var q=d.Wb(a),b=d.q;if(w==q)S(d.P,new Y.Db(b,a,j,c,n,s));else{q.zb=b;q.wa=a;q.r=j;q.Oa=c;q.mb=n;q.nb=s}};d.Wb=function(a){var j,c=d.P,n;for(n=0;n<c.length;n++)j=a==c[n].wa?c[n]:j;return j};d.xa=function(){return"&"+["utmt=tran","id="+P(d.q),"st="+P(d.Ja),"to="+P(d.xb),"tx="+P(d.wb),"sp="+P(d.ub),"ci="+P(d.Qa),"rg="+P(d.vb),"co="+P(d.Sa)].join("&utmt")}};var xa=function(i){function f(){var k,g,d;g="ShockwaveFlash";var a="$version",j=l.d?l.d.plugins:w;if(j&&j[y]>0)for(k=0;k<j[y]&&!d;k++){g=j[k];if(R(g.name,"Shockwave Flash"))d=g.description.split("Shockwave Flash ")[1]}else{g=g+"."+g;try{k=new ActiveXObject(g+".7");d=k.GetVariable(a)}catch(c){}if(!d)try{k=new ActiveXObject(g+".6");d="WIN 6,0,21,0";k.AllowScriptAccess="always";d=k.GetVariable(a)}catch(n){}if(!d)try{k=new ActiveXObject(g);d=k.GetVariable(a)}catch(s){}if(d){d=V(d.split(" ")[1],",");d=
d[0]+"."+d[1]+" r"+d[2]}}return d?d:o}var m=i,u=m.e,l=this,o="-";l.T=u.screen;l.La=!l.T&&u.java?java.awt.Toolkit.getDefaultToolkit():w;l.d=u.navigator;l.U=o;l.sa=o;l.Pa=o;l.la=o;l.ka=1;l.Za=o;l.Sb=function(){var k;if(u.screen){l.U=l.T.width+"x"+l.T.height;l.sa=l.T.colorDepth+"-bit"}else if(l.La)try{k=l.La.getScreenSize();l.U=k.width+"x"+k.height}catch(g){}l.la=U(l.d&&l.d.language?l.d.language:l.d&&l.d.browserLanguage?l.d.browserLanguage:o);l.ka=l.d&&l.d.javaEnabled()?1:0;l.Za=m.ba?f():o;l.Pa=P(m.a.characterSet?
m.a.characterSet:m.a.charset?m.a.charset:o)};l.vc=function(){return B+"utm"+["cs="+P(l.Pa),"sr="+l.U,"sc="+l.sa,"ul="+l.la,"je="+l.ka,"fl="+P(l.Za)].join("&utm")};l.Qb=function(){var k=m.a,g=u.history[y];k=l.d.appName+l.d.version+l.la+l.d.platform+l.d.userAgent+l.ka+l.U+l.sa+(k[z]?k[z]:"")+(k.referrer?k.referrer:"");for(var d=k[y];g>0;)k+=g--^d++;return na(k)}};var Z=function(i,f,m,u){function l(d){var a="";d=U(d.split("://")[1]);if(R(d,"/")){d=d.split("/")[1];if(R(d,"?"))a=d.split("?")[0]}return a}function o(d){var a="";a=U(d.split("://")[1]);if(R(a,"/"))a=a.split("/")[0];return a}var k=u,g=this;g.b=i;g.ob=f;g.s=m;g.cb=function(d){var a=g.da();return new Z.t(O(d,k.Da+C,B),O(d,k.Ga+C,B),O(d,k.Ia+C,B),g.O(d,k.Ba,"(not set)"),g.O(d,k.Ea,"(not set)"),g.O(d,k.Ha,a&&!M(a.I)?Q(a.I):w),g.O(d,k.Ca,w))};g.fb=function(d){var a=o(d),j=l(d);if(R(a,"google")){d=d.split("?").join(B);
if(R(d,B+k.bc+C))if(j==k.ac)return r}return v};g.da=function(){var d,a=g.ob,j,c,n=k.R;if(!(M(a)||"0"==a||!R(a,"://")||g.fb(a))){d=o(a);for(j=0;j<n[y];j++){c=n[j];if(R(d,U(c.Wa))){a=a.split("?").join(B);if(R(a,B+c.jb+C)){d=a.split(B+c.jb+C)[1];if(R(d,B))d=d.split(B)[0];return new Z.t(w,c.Wa,w,"(organic)","organic",d,w)}}}}};g.O=function(d,a,j){d=O(d,a+C,B);return j=!M(d)?Q(d):!M(j)?j:"-"};g.hc=function(d){var a=k.oa,j=v,c;if(d&&"organic"==d.Q){d=U(Q(d.I));for(c=0;c<a[y];c++)j=j||U(a[c])==d}return j};
g.bb=function(){var d="",a="";d=g.ob;if(!(M(d)||"0"==d||!R(d,"://")||g.fb(d))){d=d.split("://")[1];if(R(d,"/")){a=N(d,d.indexOf("/"));a=a.split("?")[0];d=U(d.split("/")[0])}if(0==d.indexOf("www."))d=N(d,4);return new Z.t(w,d,w,"(referral)","referral",w,a)}};g.$a=function(d){var a="";if(k.Y){a=d&&d.hash?d.href.substring(d.href.indexOf("#")):"";a=""!=a?a+B:a}a+=d.search;return a};g.Tb=function(){return new Z.t(w,"(direct)",w,"(direct)","(none)",w,w)};g.ic=function(d){var a=v,j,c=k.qa;if(d&&"referral"==
d.Q){d=U(P(d.V));for(j=0;j<c[y];j++)a=a||R(d,U(c[j]))}return a};g.l=function(d){return w!=d&&d.ib()};g.isNewCampaign=function(d){d=O(d,K+g.b+".",";");var a=d.split(".");d=new Z.t;d.lb(a.slice(4).join("."));if(!g.l(d))return true;a=k.a[A];a=g.$a(a);a=g.cb(a);if(!g.l(a)){a=g.da();g.l(a)||(a=g.bb())}return g.l(a)&&U(d.J())!=U(a.J())};g.getCampaignInformation=function(d,a){if(k.Na){var j="",c="-",n,s=0,q,b,e=g.b;if(d){b=d.k();j=g.$a(k.a[A]);if(k.z&&d.gb()){c=d.ia();if(!M(c)&&!R(c,";")){d.Aa();return}}c=
O(b,K+e+".",";");n=g.cb(j);if(g.l(n)){j=O(j,k.Fa+C,B);if("1"==j&&!M(c))return}if(!g.l(n)){n=g.da();if(!M(c)&&g.hc(n))return}if(!g.l(n)&&a){n=g.bb();if(!M(c)&&g.ic(n))return}if(!g.l(n))if(M(c)&&a)n=g.Tb();if(g.l(n)){if(!M(c)){s=c.split(".");q=new Z.t;q.lb(s.slice(4).join("."));q=U(q.J())==U(n.J());s=s[3]*1}if(!q||a){b=O(b,D+e+".",";");q=b.lastIndexOf(".");b=q>9?N(b,q+1)*1:0;s++;b=0==b?1:b;d.tb([e,g.s,b,s,n.J()].join("."));d.Aa()}}}}}};
Z.t=function(i,f,m,u,l,o,k){var g=this;g.q=i;g.V=f;g.Z=m;g.r=u;g.Q=l;g.I=o;g.Ra=k;g.J=function(){var d=[],a=[["cid",g.q],["csr",g.V],["gclid",g.Z],["ccn",g.r],["cmd",g.Q],["ctr",g.I],["cct",g.Ra]],j,c;if(g.ib())for(j=0;j<a[y];j++)if(!M(a[j][1])){c=a[j][1].split("+").join("%20");c=c.split(" ").join("%20");S(d,"utm"+a[j][0]+C+c)}return d.join("|")};g.ib=function(){return!(M(g.q)&&M(g.V)&&M(g.Z))};g.lb=function(d){var a=function(j){return Q(O(d,"utm"+j+C,"|"))};g.q=a("cid");g.V=a("csr");g.Z=a("gclid");
g.r=a("ccn");g.Q=a("cmd");g.I=a("ctr");g.Ra=a("cct")}};var ya=function(i,f,m,u){function l(j,c,n){var s;if(!M(n)){n=n.split(",");for(var q=0;q<n[y];q++){s=n[q];if(!M(s)){s=s.split(g);if(s[y]==4)c[s[0]]=[s[1],s[2],j]}}}}var o=this,k=f,g=C,d=i,a=u;o.L=m;o.na="";o.p={};o.gc=function(){var j;j=V(O(o.L.k(),H+k+".",";"),k+".")[1];if(!M(j)){j=j.split("|");l(1,o.p,j[1]);o.na=j[0];o.X()}};o.X=function(){o.Ib();var j=o.na,c,n,s="";for(c in o.p)if((n=o.p[c])&&1===n[2])s+=c+g+n[0]+g+n[1]+g+1+",";M(s)||(j+="|"+s);if(M(j))o.L.Nb();else{o.L.va(k+"."+j);o.L.za()}};o.rc=
function(j){o.na=j;o.X()};o.pc=function(j,c,n,s){if(1!=s&&2!=s&&3!=s)s=3;var q=v;if(c&&n&&j>0&&j<=d.kb){c=P(c);n=P(n);if(c[y]+n[y]<=64){o.p[j]=[c,n,s];o.X();q=r}}return q};o.$b=function(j){if((j=o.p[j])&&1===j[2])return j[1]};o.Mb=function(j){var c=o.p;if(c[j]){delete c[j];o.X()}};o.Ib=function(){a._clearKey(8);a._clearKey(9);a._clearKey(11);var j=o.p,c,n;for(n in j)if(c=j[n]){a._setKey(8,n,c[0]);a._setKey(9,n,c[1]);(c=c[2])&&3!=c&&a._setKey(11,n,""+c)}}};var $=function(){function i(h,p,t,x){if(w==k[h])k[h]={};if(w==k[h][p])k[h][p]=[];k[h][p][t]=x}function f(h,p){if(w!=k[h]&&w!=k[h][p]){k[h][p]=w;var t=r,x;for(x=0;x<a[y];x++)if(w!=k[h][a[x]]){t=v;break}if(t)k[h]=w}}function m(h){var p="",t=v,x,E;for(x=0;x<a[y];x++){E=h[a[x]];if(w!=E){if(t)p+=a[x];p+=u(E);t=v}else t=r}return p}function u(h){var p=[],t,x;for(x=0;x<h[y];x++)if(w!=h[x]){t="";if(x!=e&&w==h[x-1])t+=x.toString()+s;t+=l(h[x]);S(p,t)}return j+p.join(n)+c}function l(h){var p="",t,x,E;for(t=
0;t<h[y];t++){x=h.charAt(t);E=b[x];p+=w!=E?E:x}return p}var o=this,k={},g="k",d="v",a=[g,d],j="(",c=")",n="*",s="!",q="'",b={};b[q]="'0";b[c]="'1";b[n]="'2";b[s]="'3";var e=1;o.dc=function(h){return w!=k[h]};o.D=function(){var h="",p;for(p in k)if(w!=k[p])h+=p.toString()+m(k[p]);return h};o.nc=function(h){if(h==w)return o.D();var p=h.D(),t;for(t in k)if(w!=k[t]&&!h.dc(t))p+=t.toString()+m(k[t]);return p};o._setKey=function(h,p,t){if(typeof t!="string")return v;i(h,g,p,t);return r};o._setValue=function(h,
p,t){if(typeof t!="number"&&(w==Number||!(t instanceof Number))||Math.round(t)!=t||t==NaN||t==Infinity)return v;i(h,d,p,t.toString());return r};o._getKey=function(h,p){return w!=k[h]&&w!=k[h][g]?k[h][g][p]:w};o._getValue=function(h,p){return w!=k[h]&&w!=k[h][d]?k[h][d][p]:w};o._clearKey=function(h){f(h,g)};o._clearValue=function(h){f(h,d)}};var za=function(i,f){var m=this;m.Fc=f;m.jc=i;m._trackEvent=function(u,l,o){return f._trackEvent(m.jc,u,l,o)}};var Aa=function(i,f,m){function u(){if("auto"==c.c){var b=c.a.domain;if("www."==N(b,0,4))b=N(b,4);c.c=b}c.c=U(c.c)}function l(){u();var b=c.c,e=b.indexOf("www.google.")*b.indexOf(".google.")*b.indexOf("google.");return e||"/"!=c.h||b.indexOf("google.org")>-1}function o(b,e,h){if(M(b)||M(e)||M(h))return"-";b=O(b,D+a.b+".",e);if(!M(b)){b=b.split(".");b[5]=b[5]?b[5]*1+1:1;b[3]=b[4];b[4]=h;b=b.join(".")}return b}function k(){return"file:"!=c.a[A].protocol&&l()}function g(b){if(!b||""==b)return"";for(;ia(b.charAt(0));)b=
N(b,1);for(;ia(b.charAt(b[y]-1));)b=N(b,0,b[y]-1);return b}function d(b,e,h,p){if(!M(b())){e(p?Q(b()):b());R(b(),";")||h()}}var a=this,j=w,c=new sa,n=v,s=w;a.e=window;a.r=i;a.s=Math.round((new Date).getTime()/1E3);a.n=f||"UA-XXXXX-X";a.Ua=c.a.referrer;a.ca=w;a.f=w;a.M=w;a.C=v;a.A=w;a.g=w;a.Xa=w;a.b=w;a.i=w;c.o=m?P(m):w;var q=function(b){var e,h=""!=b&&c.a[A].host!=b;if(h)for(e=0;e<c.u[y];e++)h=h&&la(U(b),U(c.u[e]))==-1;return h};a.lc=function(){if(!a.M)return null;var b=a.M.match(/^(?:\|([-0-9a-z.]{1,30})(?::(\d{4,5}))?\|)?([-.\w]{10,1200})$/i);
if(!b)return null;return{domain:b[1]||null,port:b[2]||null,token:b[3]}};a.Xb=function(){return W()^a.A.Qb()&2147483647};a.Ub=function(){if(!c.c||""==c.c||"none"==c.c){c.c="";return 1}u();return c.Ka?na(c.c):1};a.Pb=function(b,e){if(M(b))b="-";else{e+=c.h&&"/"!=c.h?c.h:"";var h=b.indexOf(e);b=h>=0&&h<=8?"0":"["==b.charAt(0)&&"]"==b.charAt(b[y]-1)?"-":b}return b};a.ra=function(b){var e="",h=c.a;e+=c.$?a.A.vc():"";e+=c.aa&&!M(h.title)?"&utmdt="+P(h.title):"";e+="&utmhid="+oa()+"&utmr="+P(a.ca)+"&utmp="+
P(a.oc(b));return e};a.oc=function(b){var e=c.a[A];return b=w!=b&&""!=b?P(b,r):P(e.pathname+e.search,r)};a.yc=function(b){if(a.H()){var e="";if(a.g!=w&&a.g.D()[y]>0)e+="&utme="+P(a.g.D());e+=a.ra(b);j.F(e,a.n,a.b)}};a.Lb=function(){var b=new ua(c);return b.pa(a.b)?b.uc():w};a._getLinkerUrl=function(b,e){var h=b.split("#"),p=b,t=a.Lb();if(t)if(e&&1>=h[y])p+="#"+t;else if(!e||1>=h[y])if(1>=h[y])p+=(R(b,"?")?B:"?")+t;else p=h[0]+(R(b,"?")?B:"?")+t+"#"+h[1];return p};a.sc=function(){var b=a.lc();if(b){a.i.qc(a.M);
a.i.Dc();X._gasoDomain=c.c;X._gasoCPath=c.h;var e="www.google.com";if(b.domain)e=b.domain+".google.com"+(b.port?":"+b.port:"");var h="https://www.google.com/analytics/reporting/overlay_js?gaso=";if(b.domain)h="https://"+e+"/analytics/reporting/overlay_js?gaso=";h+=b.token+B+W();pa(h,"_gasojs")}};a.cc=function(){var b=a.s,e=a.i,h=e.k(),p=a.b+"",t=c.e,x=t?t.gaGlobal:w,E,ja=R(h,D+p+"."),Ba=R(h,F+p),Ca=R(h,G+p),I,J=[],T="",qa=v;h=M(h)?"":h;if(c.z){E=c.a[A]&&c.a[A].hash?c.a[A].href.substring(c.a[A].href.indexOf("#")):
"";if(c.Y&&!M(E))T=E+B;T+=c.a[A].search;if(!M(T)&&R(T,D)){e.mc(T);e.gb()||e.Kb();I=e.ea()}d(e.ha,e.sb,e.Cb,true);d(e.ga,e.va,e.za)}if(M(I))if(ja)if(!Ba||!Ca||0){I=o(h,";",b);a.C=r}else{I=O(h,D+p+".",";");J=V(O(h,F+p,";"),".")}else{I=ma([p,a.Xb(),b,b,b,1],".");qa=a.C=r}else if(M(e.B())||M(e.fa())){I=o(T,B,b);a.C=r}else{J=V(e.B(),".");p=J[0]}I=I.split(".");if(t&&x&&x.dh==p&&!c.o){I[4]=x.sid?x.sid:I[4];if(qa){I[3]=x.sid?x.sid:I[4];if(x.vid){b=x.vid.split(".");I[1]=b[0];I[2]=b[1]}}}e.qb(I.join("."));
J[0]=p;J[1]=J[1]?J[1]:0;J[2]=w!=J[2]?J[2]:c.wc;J[3]=J[3]?J[3]:I[4];e.ta(J.join("."));e.rb(p);M(e.Zb())||e.ua(e.N());e.Ab();e.ya();e.Bb()};a.ec=function(){j=new wa(c)};a._getName=function(){return a.r};a._initData=function(){var b;if(!n){if(!a.A){a.A=new xa(c);a.A.Sb()}a.b=a.Ub();a.i=new ua(c);a.g=new $;s=new ya(c,a.b,a.i,a.g);a.ec()}if(k()){if(!n){a.ca=a.Pb(a.Ua,c.a.domain);b=new Z(a.b,a.ca,a.s,c)}a.cc(b);s.gc()}if(!n){k()&&b.getCampaignInformation(a.i,a.C);a.Xa=new $;n=r}a.fc()};a._visitCode=function(){a._initData();
var b=O(a.i.k(),D+a.b+".",";");b=b.split(".");return b[y]<4?"":b[1]};a._cookiePathCopy=function(b){a._initData();a.i&&a.i.Bc(a.b,b)};a.fc=function(){if(!X.eb){var b=c.a[A].hash;if(b&&1==b.indexOf("gaso="))b=O(b,"gaso=",B);else b=(b=c.e.name)&&0<=b.indexOf("gaso=")?O(b,"gaso=",B):O(a.i.k(),ha,";");if(b[y]>=10){a.M=b;a.sc()}X.eb=r}};a.H=function(){return a._visitCode()%1E4<c.S*100};a.tc=function(){var b,e,h=c.a.links;if(!c.hb){b=c.a.domain;if("www."==N(b,0,4))b=N(b,4);c.u.push("."+b)}for(b=0;b<h[y]&&
(c.ma==-1||b<c.ma);b++){e=h[b];if(q(e.host))if(!e.gatcOnclick){e.gatcOnclick=e.onclick?e.onclick:a.kc;e.onclick=function(p){var t=!this.target||this.target=="_self"||this.target=="_top"||this.target=="_parent";t=t&&!a.Jb(p);a.zc(p,this,t);return t?v:this.gatcOnclick?this.gatcOnclick(p):r}}}};a.kc=function(){};a._trackPageview=function(b){if(k()){a._initData();c.u&&a.tc();a.yc(b);a.C=v}};a._trackTrans=function(){var b=a.b,e=[],h,p,t;a._initData();if(a.f&&a.H()){for(h=0;h<a.f.W[y];h++){p=a.f.W[h];S(e,
p.xa());for(t=0;t<p.P[y];t++)S(e,p.P[t].xa())}for(h=0;h<e[y];h++)j.F(e[h],a.n,b,r)}};a._setTrans=function(){var b=c.a,e,h,p;b=b.getElementById?b.getElementById("utmtrans"):b.utmform&&b.utmform.utmtrans?b.utmform.utmtrans:w;a._initData();if(b&&b.value){a.f=new Y;p=b.value.split("UTM:");c.v=!c.v||""==c.v?"|":c.v;for(b=0;b<p[y];b++){p[b]=g(p[b]);e=p[b].split(c.v);for(h=0;h<e[y];h++)e[h]=g(e[h]);if("T"==e[0])a._addTrans(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]);else"I"==e[0]&&a._addItem(e[1],e[2],e[3],
e[4],e[5],e[6])}}};a._addTrans=function(b,e,h,p,t,x,E,ja){a.f=a.f?a.f:new Y;return a.f.Gb(b,e,h,p,t,x,E,ja)};a._addItem=function(b,e,h,p,t,x){var E;a.f=a.f?a.f:new Y;(E=a.f.db(b))||(E=a._addTrans(b,"","","","","","",""));E.Fb(e,h,p,t,x)};a._setVar=function(b){if(b&&""!=b&&l()){a._initData();s.rc(P(b));a.H()&&j.F("&utmt=var",a.n,a.b)}};a._setCustomVar=function(b,e,h,p){a._initData();return s.pc(b,e,h,p)};a._deleteCustomVar=function(b){a._initData();s.Mb(b)};a._getVisitorCustomVar=function(b){a._initData();
return s.$b(b)};a._setMaxCustomVariables=function(b){c.kb=b};a._link=function(b,e){if(c.z&&b){a._initData();c.a[A].href=a._getLinkerUrl(b,e)}};a._linkByPost=function(b,e){if(c.z&&b&&b.action){a._initData();b.action=a._getLinkerUrl(b.action,e)}};a._setXKey=function(b,e,h){a.g._setKey(b,e,h)};a._setXValue=function(b,e,h){a.g._setValue(b,e,h)};a._getXKey=function(b,e){return a.g._getKey(b,e)};a._getXValue=function(b,e){return a.g.getValue(b,e)};a._clearXKey=function(b){a.g._clearKey(b)};a._clearXValue=
function(b){a.g._clearValue(b)};a._createXObj=function(){a._initData();return new $};a._sendXEvent=function(b){var e="";a._initData();if(a.H()){e+="&utmt=event&utme="+P(a.g.nc(b))+a.ra();j.F(e,a.n,a.b,v,r)}};a._createEventTracker=function(b){a._initData();return new za(b,a)};a._trackEvent=function(b,e,h,p){a._initData();var t=a.Xa;if(w!=b&&w!=e&&""!=b&&""!=e){t._clearKey(5);t._clearValue(5);(b=t._setKey(5,1,b)&&t._setKey(5,2,e)&&(w==h||t._setKey(5,3,h))&&(w==p||t._setValue(5,1,p)))&&a._sendXEvent(t)}else b=
v;return b};a.zc=function(b,e,h){a._initData();if(a.H()){var p=new $;p._setKey(6,1,e.href);var t=h?function(){a.Ya(b,e)}:w;j.F("&utmt=event&utme="+P(p.D())+a.ra(),a.n,a.b,v,r,t);h&&c.e.setTimeout(function(){a.Ya(b,e)},500)}};a.Ya=function(b,e){if(!b)b=c.e.event;var h=r;if(e.gatcOnclick)h=e.gatcOnclick(b);if(h||typeof h=="undefined")if(!e.target||e.target=="_self")c.e[A]=e.href;else if(e.target=="_top")c.e.top.document[A]=e.href;else if(e.target=="_parent")c.e.parent.document[A]=e.href};a.Jb=function(b){if(!b)b=
c.e.event;var e=b.shiftKey||b.ctrlKey||b.altKey;if(!e)if(b.modifiers&&c.e.Event)e=b.modifiers&c.e.Event.CONTROL_MASK||b.modifiers&c.e.Event.SHIFT_MASK||b.modifiers&c.e.Event.ALT_MASK;return e};a.Ec=function(){return c};a._setDomainName=function(b){c.c=b};a._addOrganic=function(b,e,h){c.R.splice(h?0:c.R.length,0,new ra(b,e))};a._clearOrganic=function(){c.R=[]};a._addIgnoredOrganic=function(b){S(c.oa,b)};a._clearIgnoredOrganic=function(){c.oa=[]};a._addIgnoredRef=function(b){S(c.qa,b)};a._clearIgnoredRef=
function(){c.qa=[]};a._setAllowHash=function(b){c.Ka=b?1:0};a._setCampaignTrack=function(b){c.Na=b?1:0};a._setClientInfo=function(b){c.$=b?1:0};a._getClientInfo=function(){return c.$};a._setCookiePath=function(b){c.h=b};a._setTransactionDelim=function(b){c.v=b};a._setCookieTimeout=function(b){a._setCampaignCookieTimeout(b*1E3)};a._setCampaignCookieTimeout=function(b){c.Ma=b};a._setDetectFlash=function(b){c.ba=b?1:0};a._getDetectFlash=function(){return c.ba};a._setDetectTitle=function(b){c.aa=b?1:
0};a._getDetectTitle=function(){return c.aa};a._setLocalGifPath=function(b){c.ja=b};a._getLocalGifPath=function(){return c.ja};a._setLocalServerMode=function(){c.G=0};a._setRemoteServerMode=function(){c.G=1};a._setLocalRemoteServerMode=function(){c.G=2};a._getServiceMode=function(){return c.G};a._setSampleRate=function(b){c.S=b};a._setSessionTimeout=function(b){a._setSessionCookieTimeout(b*1E3)};a._setSessionCookieTimeout=function(b){c.pb=b};a._setAllowLinker=function(b){c.z=b?1:0};a._setAllowAnchor=
function(b){c.Y=b?1:0};a._setCampNameKey=function(b){c.Ba=b};a._setCampContentKey=function(b){c.Ca=b};a._setCampIdKey=function(b){c.Da=b};a._setCampMediumKey=function(b){c.Ea=b};a._setCampNOKey=function(b){c.Fa=b};a._setCampSourceKey=function(b){c.Ga=b};a._setCampTermKey=function(b){c.Ha=b};a._setCampCIdKey=function(b){c.Ia=b};a._getAccount=function(){return a.n};a._setAccount=function(b){a.n=b};a._setNamespace=function(b){c.o=b?P(b):w};a._getVersion=function(){return da};a._setAutoTrackOutbound=
function(b){c.u=[];if(b)c.u=b};a._setTrackOutboundSubdomains=function(b){c.hb=b};a._setHrefExamineLimit=function(b){c.ma=b};a._setReferrerOverride=function(b){a.Ua=b};a._setCookiePersistence=function(b){a._setVisitorCookieTimeout(b)};a._setVisitorCookieTimeout=function(b){c.w=b}};var Da=function(){var i=this;i.Va=v;i.yb={};i.Ac=0;i.eb=v;i._gasoDomain=w;i._gasoCPath=w;i._getTracker=function(f,m){return i._createTracker(f,w,m)};i._createTracker=function(f,m,u){if(m==w)m="~"+X.Ac++;return X.yb[m]=new Aa(m,f,u)};i._getTrackerByName=function(f){f=f||"";return X.yb[f]||X._createTracker(undefined,f)};i.Cc=function(){var f=window[ea];return f&&f[fa]&&f[fa]()};i._anonymizeIp=function(){i.Va=r}};var va=v,Fa=function(){var i=this;i._createAsyncTracker=function(f,m){return X._createTracker(f,m||"")};i._getAsyncTracker=function(f){return X._getTrackerByName(f)};i.push=function(){var f=arguments,m=0;va=r;for(var u=0;u<f[y];u++)try{if(typeof f[u]==="function")f[u]();else{var l="",o=f[u][0],k=o.lastIndexOf(".");if(k>0){l=N(o,0,k);o=N(o,k+1)}var g=l==aa?X:l==ba?Ea:X._getTrackerByName(l);g[o].apply(g,f[u].slice(1))}}catch(d){m++}return m}};function Ga(){var i=window[aa];if(i&&typeof i._getTracker=="function")X=i;else window[aa]=X}function Ha(){var i=window[ba],f=v;if(i&&typeof i.push=="function"){f=i.constructor==Array;if(!f)return}window[ba]=Ea;f&&Ea.push.apply(Ea,i)}var X=new Da;Ga();var Ea=new Fa;Ha();})()


//menuverticalflyout.js
var _menuids = ["sidebarmenu1"];

var _delayedCommand = [];
var _delayedLi = [];
var _delayedTimeout = null;

function timerProc() {
    for (var i = 0; i < _delayedCommand.length; i++) {
        if (_delayedCommand[i] === "out") {
            hoverOutT(_delayedLi[i]);
        }
        else if (_delayedCommand[i] === "over") {
            hoverOverT(_delayedLi[i]);
        }
    }
    
    _delayedCommand = [];
    _delayedLi = [];
    _delayedTimeout = null;
}

function delayCommand(cmd, li) {
    // This function introduces a short delay so that extraneous elements that
    // the user hovers over do not affect the user experience.
    
    // Remove any opposites of this command.
    for (var i = _delayedCommand.length - 1; i >= 0; i--) {
        if (_delayedLi[i].index(li) !== -1 && _delayedCommand[i] !== cmd) {
            _delayedCommand.splice(i, 1);
            _delayedLi.splice(i, 1);
        }
    }

    // Push the command.
    _delayedCommand.push(cmd);
    _delayedLi.push(li);
    
    // Clear old timeout (if any), set new timeout.
    if (_delayedTimeout !== null) {
        window.clearTimeout(_delayedTimeout);
    }   
    
    _delayedTimeout = window.setTimeout(timerProc, 300);
}

function hoverOver() {
    delayCommand("over", $(this));
}

function hoverOut() {
    var li = $(this);
    delayCommand("out", li);
}

function hoverOverT(obj)
{
    var ul = $("ul:first", obj);

    $("> a", obj).addClass("trailfolder");

    if (ul.length === 1) {
        var ulOuterHeight;
        var ulTop;
        var windowScrollTop = $(window).scrollTop();
        var windowHeight = $(window).height();

        // Set display:block but temporarily hide. This lets us get measurements
        // of the hidden elements and move them before they become visible.

        ul.css("visibility", "hidden");
        ul.css("display", "block");

        ulOuterHeight = ul.outerHeight(true);
        ulTop = obj.offset().top;
    
        var parent = obj.parent();
        if (parent.length === 1) {
            var li = $("> li", ul);
            if (li.length !== 0) {
                var i;          
                var h = 0;

                // Center the submenu (ul).

                var liOuterHeightSum = 0;
                for (i = 0; i < li.length; i++) {
                    var lii = li.eq(i);
                    var liOuterHeight = lii.outerHeight(true);
                    liOuterHeightSum += liOuterHeight;
                    if (liOuterHeightSum < ulOuterHeight / 2) {
                        h -= liOuterHeight;
                    }
                    
                    // Added at runtime to cut page size.
                    if ($("> ul", lii).length !== 0) {
                        $("> a", lii).addClass("subfolderstyle");
                    }
                }

                // Prevent overflow at bottom of screen.
                // The extra 20px is to avoid going under Chrome's status bar overlay.
                for (i = 0; i < li.length && ulTop + ulOuterHeight + h > windowScrollTop + windowHeight - 20; i++) {
                    h -= li.eq(i).outerHeight(true);
                }
    
                // Prevent overflow at top of screen (has priority over overflow at bottom).

                for (i = 0; i < li.length && ulTop + h < windowScrollTop; i++) {
                    h += li.eq(i).outerHeight(true);
                } 

                ul.css("top", h + "px");
                
                li.hover(hoverOver, hoverOut);
            }

            ul.css("left", parent.outerWidth(true) + "px");
        }
 
        ul.css("visibility", "");
    }
}

function hoverOutT(li) {
    $("> a", li).removeClass("trailfolder");

    var ul = $("ul:first", li);
    if (ul.length === 1) {
        ul.css("display", "none");
    }
}

function initsidebarmenu() {
    for (var i = 0; i < _menuids.length; i++) {
        var menu = $("#" + _menuids[i]);
        $("> li", menu).hover(hoverOver, hoverOut);
    }
}

$(document).ready(function() {
        var url = location.href;
        
        if(url.substring(url.length -1) != '/') {
           initsidebarmenu();
        }
    }
);

//elementeffects.js
function setHeight(elementsToChangeID, elementToCompareID)
{
    var ids = elementsToChange.split(",");
    var elementToChange;
    
    var elementToCompare = document.getElementById(elementToCompareID);
    
    for(var i=0; i<=ids.length-1; i++)
    {
        elementToChange = document.getElementById(ids[i]);
        elementToChange.style.height = elementToCompare.offsetHeight + 'px';
    }
}
function setWidth(elementsToChangeID, elementToCompareID)
{
    var ids = elementsToChange.split(",");
    var elementToChange;
    
    var elementToCompare = document.getElementById(elementToCompareID);
    
    for(var i=0; i<=ids.length-1; i++)
    {
        elementToChange = document.getElementById(ids[i]);
        elementToChange.style.width = elementToCompare.offsetWidth + 'px';
    }
}
function showElement(id)
{
    document.getElementById(id).style.display="block";
}
 function hideElement(id)
{
    document.getElementById(id).style.display="none";
}
function showHide(id)
{
    var o = document.getElementById(id);
  
    if(o.style.display=="none")
    {
        o.style.display="block";
    }
    else
    {
        o.style.display="none";
    }
}
function swapImage(id, mainImage, altImage)
{
    var o = document.getElementById(id);
    
    if(o.src == mainImage)
    {
        o.src = altImage;
    }
    else
    {
        o.src = mainImage;
    }
}
function alterHeight(id)
{
    var div = document.getElementById(id);
    div.style.height="150px";
}
function toggleSubmenu(id)
{
    var el = document.getElementById(id);
    
    if ( el.style.display != 'none' ) 
    {
        el.style.display = 'none';
    }
    else 
    {
        el.style.display = '';
    }
}
//formhelper.js
var _mapPrefix;
var _ddl;
var _obj_activevalidationsummary=null;

// sets quantity textbox to 1 or empty string on display group page
function setTxtQuantity(rbl,txt)
{
   var txtQuantity = document.getElementById(txt);
         
   // if rbl is null then it must be "None" choice
   if(rbl.checked && rbl.value=="0")
   {
        txtQuantity.disabled = true;
        txtQuantity.value = "";
        return true;
   }
   else
   {
        txtQuantity.disabled = false;
        txtQuantity.value = "1";
        txtQuantity.focus();
        return true;
   }
}

function evaluateTxtQuantity(txt,origValue)
{
   var txtQuantity = document.getElementById(txt);
   var value = txtQuantity.value;
   var len = txtQuantity.value.length;
   
   for(var i=0;i<len;i++)
   {
        value = value.replace(' ','');
   }

   if(value.length==0||isNaN(value))
   {
        txtQuantity.value = origValue;
   }
   
}

function evaluateGiftFinderDropDowns(parentChild, priceTierID, errorId)
{
    var major = parentChild.split("|");
    var minor;
    var parentId;
    var childId;
    var ddlPriceTier;
    
    ddlPriceTier = document.getElementById(priceTierID);
    if (ddlPriceTier.options[0].selected)
    {
        document.getElementById(errorId).style.display = "block";
        return false;
    }
    
    for (var i=0;i < major.length;i++)
    {
        minor = major[i].split(",");
        parentId = minor[0];
        childId = minor[1];
        
        if(!cascadingDropDownsCorrectlySelected(parentId, childId))
        {
            document.getElementById(errorId).style.display = "block";
            return false;
        }
    }

    return true;
}

function cascadingDropDownsCorrectlySelected(parentId, childId)
{
    var parentDDL = document.getElementById(parentId);
    var childDDL  = document.getElementById(childId);

    if (parentDDL.options.length > 1 && parentDDL.options[0].selected)
    {
        return false;
    }
    else if (childDDL.options.length > 1 && childDDL.options[0].selected)
    {
        return false;
    }    

    return true;
}

function setDropDown(parentID,value)
{
    var parent = document.getElementById(parentID);
    
    findDropDown(parent);
    
    if(!_ddl) return;
    
    _ddl.selectedIndex = -1;
    for(var i=0;i<_ddl.options.length;i++)
    {
        if(_ddl.options[i].text == value)
        {
            _ddl.options[i].selected = true;
        }
    }
}

function findDropDown(n)
{
    if(n.type!=undefined)
    {
        if(n.type=="select-one")
        {
            _ddl = n;
            return;
        }
    }
    
    for(var i=0;i<n.childNodes.length;i++)
    {
        if(n.childNodes[i].childNodes.length>0)
        {
            findDropDown(n.childNodes[i]);
        }  
    }
}

function getDropDownValue(ddl)
{
    for(var i=0;i<ddl.options.length;i++)
    {
        if(ddl.options[i].selected)
            return ddl.options[i].value;
    }
}

function confirmDropDownCookieWrite(value)
{
    if(value!='All')
    {
        writeCookie(value);
    }
}   

function showHideTab(a, tab1, tab2, tab3)
{
    var t1 = document.getElementById("rootTab1");
    var t2 = document.getElementById("rootTab2");
    var t3 = document.getElementById("rootTab3");

    t1.style.display = tab1;
    t2.style.display = tab2;
    t3.style.display = tab3;
    
    writeCookie(a);
}

function writeCookie(value)
{
    document.cookie = _mapPrefix+"="+value+";path=/;"
}


function checkMaxLength(textbox,maxlimit)
{
    if (textbox.value.length > maxlimit) // if too long...trim it!
        textbox.value = textbox.value.substring(0, maxlimit);
}

function isPoBox(sender, args)
{
     var regex = /(^(p[\s|\.|,-]*| ^post[\s|\.]*)(o[\s|\.|,]*| office[\s|\.]*))| (^box[.|\s]*\d+)/;
     
     if(regex.test(args.Value)==true)
     {
        args.IsValid = false;
     }
     else
     {
        args.IsValid = true;
     }
     
     return;
}

function setCheckboxes(chkBoxIds, chkBoxId)
{
    var ids = chkBoxIds.split(",");
    var chkBox = document.getElementById(chkBoxId);
    
    for(var i=0;i<ids.length;i++)
    {
        document.getElementById(ids[i]).checked = chkBox.checked;
    }
}

function showHideDivWithLink(divId, linkId, linkShowText, linkHideText) {
	
	var div = window.document.getElementById(divId);
	var link = window.document.getElementById(linkId);
	var linkText = '';
	
	if(div.style.display == 'none') {
		div.style.display = 'block';
		linkText = linkHideText + ' (-)';			
	}
	else {
		div.style.display = 'none';
		linkText = linkShowText + ' (+)';	
	}
	
	link.innerHTML = linkText;
}

function setHiddenValue(hdnId, value)
{
    var hdn = document.getElementById(hdnId);
    
    hdn.value = value;
}

function validateAndScrollToInvalidValidationSummary()
{
    if (typeof(ValidatorOnSubmit) == "function") 
    {
        var isValidated = ValidatorOnSubmit();
        if (!isValidated)
        {
            scrollToInvalidValidationSummary();
            return false;
        }
    }
    return true;
}

function scrollToInvalidValidationSummary()
{
    if (typeof(Page_ValidationSummaries) == "undefined")
    {
        return;
    }
    for (var i = Page_ValidationSummaries.length - 1; i >= 0; i--)
    {
        var pvs = Page_ValidationSummaries[i];
        if (pvs.style.display !== "none")
        {
            scrollToDom(pvs);
            break;
        }
    }
}

function scrollToDom(obj)
{
    var coords = findPos(obj);
    window.scrollTo(coords[0],coords[1]);
}

// sets focus on a ValidationSummary control
//-------------------------------------------------------------------------------------------
//  Scrolls the Page to the ValidationSummary designated by the "onclientclicked" event 
//  invoking the validation.
//
//  CODE BEHIND - Add the following to the "Page_Load" event.
//        // use for UpdatePanel
//        //System.Web.UI.ScriptManager.RegisterOnSubmitStatement(Page.GetType(), "GotoValidationSummary", "scrolltoValidationSummaryScript();");
//        Page.ClientScript.RegisterOnSubmitStatement(Page.GetType, "GoToValidationSummary", "scrolltoValidationSummaryScript();")
//        Me.ibtnSubmitOrder.OnClientClick = String.Concat("saveLocalValidationSummary('", Me.vsCheckout.ClientID, "')")
//-------------------------------------------------------------------------------------------

function saveLocalValidationSummary(validationsummaryid)
{
    _obj_activevalidationsummary = document.getElementById(validationsummaryid);
}
function gotoActiveSummary()
{
    if (_obj_activevalidationsummary != null)
    {
        var coors = findPos(_obj_activevalidationsummary);
        window.scrollTo(coors[0],coors[1]);
        _obj_activevalidationsummary = null;
    }
}
function scrolltoValidationSummaryScript()
{
    if (typeof(ValidatorOnSubmit) == "function") 
    {
        var isValidated = ValidatorOnSubmit();
        if (!isValidated)
        {
            gotoActiveSummary();
            return false;
        }
        return true;
    }
}
function findPos(obj) 
{
    var curleft = curtop = 0;
    if (obj.offsetParent) {
        do {
            curleft += obj.offsetLeft;
            curtop += obj.offsetTop;
        } while (obj = obj.offsetParent);
    }
    return [curleft,curtop];
}

function isValidEmailAddress(txtId, alertMessage) {
    var emailAddress = trim(window.document.getElementById(txtId).value);
    var pattern = /^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@(([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.))*[A-Za-z0-9]{1,63}\.([a-zA-Z][^_\W]{0}){2,6}$/;
    
    if (! pattern.test(emailAddress)) {
        alert(alertMessage);
        return false;
    }
    else {
        return true;
    }
}

function trim(stringToTrim) {
	return stringToTrim.replace(/^\s+|\s+$/g,"");
}

function getWindowHeight(){ 
    return window.document.body.clientHeight;
}

function trimWhiteSpace( txtID ) {
 var objRegExp = /^(\s*)$/;
 var txtBox = document.getElementById(txtID);
 var strValue = txtBox.value;
 
    //check for all spaces
    if(objRegExp.test(strValue)) {
       strValue = strValue.replace(objRegExp, '');
       if( strValue.length == 0)
          return strValue;
    }

   //check for leading & trailing spaces
   objRegExp = /^(\s*)([\W\w]*)(\b\s*$)/;
   if(objRegExp.test(strValue)) {
       //remove leading and trailing whitespace characters
       strValue = strValue.replace(objRegExp, '$2');
    }
  
  txtBox.value = strValue;
}

function stripHtml(txtId) {
    var txt = window.document.getElementById(txtId);
    var txtVal = txt.value;
    var matchTag = /<(?:.|\s)*?>/g;
    
    txtVal = txtVal.replace(matchTag, '');
    txtVal = txtVal.replace('<', '');
    txtVal = txtVal.replace('>', '');
        
    txt.value = txtVal;    
}

function getQuerystring(key, default_)
{
  if (default_==null) default_=""; 
  key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regex = new RegExp("[\\?&]"+key+"=([^&#]*)");
  var qs = regex.exec(window.location.href);
  if(qs == null)
    return default_;
  else
    return qs[1];
}

function getElementsByClassName(oElm, strTagName, strClassName){
	var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName);
	var arrReturnElements = new Array();
	strClassName = strClassName.replace(/\-/g, "\\-");
	var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
	var oElement;
	
	for(var i=0; i<arrElements.length; i++){
		oElement = arrElements[i];

		if(oRegExp.test(oElement.className)){
			arrReturnElements.push(oElement);
			
		}
	}
	
	return (arrReturnElements)
}

function IsNumeric(sText) {
   var ValidChars = "0123456789.";
   var IsNumber = true;
   var Char;
 
   for (i = 0; i < sText.length && IsNumber == true; i++) { 
      Char = sText.charAt(i); 
      
      if (ValidChars.indexOf(Char) == -1) {
        IsNumber = false;
      }
   }
      
    return IsNumber;   
}
//imageeffects.js
// Image Rollover Effect

function swapImageRollover(replacementImage, existingImage)
{
    var oldImage = document.getElementById(existingImage);
    
    oldImage.src = replacementImage;    
}

function altImageRollover(replacementImageSrc, existingImage, largeImage, largeImageSrc)
{
    opacity(existingImage,100,0,200);
    
    setTimeout("transitionHold('" + replacementImageSrc + "','" + existingImage + "')",200);
    
    document.getElementById(largeImage).src = largeImageSrc;    
    document.getElementById('colorchipname').innerHTML = '';
}

function chipImageRollover(replacementImageSrc, existingImage, largeImage, largeImageSrc, chipName)
{
    opacity(existingImage,100,0,200);
    
    setTimeout("transitionHold('" + replacementImageSrc + "','" + existingImage + "')",200);
    
    document.getElementById(largeImage).src = largeImageSrc;
    document.getElementById('colorchipname').innerHTML = chipName;
}

function transitionHold(replacementImageSrc, existingImage)
{
    var oldImage = document.getElementById(existingImage);
    
    oldImage.src = replacementImageSrc;
    opacity(existingImage,0,100,200);
}


function resize(id, sizeStart, sizeEnd, millisec)
{
    //speed for each frame
    var speed = Math.round(millisec / 100);
    var timer = 0;

    //determine the direction for the blending, if start and end are the same nothing happens
    if(sizeStart > sizeEnd) {
        for(i = sizeStart; i >= sizeEnd; i--) {
            setTimeout("changeSize(" + i + ",'" + id + "')",(timer * speed));
            timer++;
        }
        return true;
    } else if(sizeStart < sizeEnd) {
        for(i = sizeStart; i <= sizeEnd; i++)
            {
            setTimeout("changeSize(" + i + ",'" + id + "')",(timer * speed));
            timer++;
        }
        return true;
    }
}

function changeSize(size, id)
{
    var imgStyle = document.getElementById(id).style;
    
    imgStyle.width = size + '%';
    imgStyle.height = size + '%';
}

function opacity(id, opacStart, opacEnd, millisec) {
    //speed for each frame
    var speed = Math.round(millisec / 100);
    var timer = 0;

    //determine the direction for the blending, if start and end are the same nothing happens
    if(opacStart > opacEnd) {
        for(i = opacStart; i >= opacEnd; i--) {
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
            timer++;
        }
    } else if(opacStart < opacEnd) {
        for(i = opacStart; i <= opacEnd; i++)
            {
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
            timer++;
        }
    }
}

//change the opacity for different browsers
function changeOpac(opacity, id) {
    var object = document.getElementById(id).style;
    object.opacity = (opacity / 100);
    object.MozOpacity = (opacity / 100);
    object.KhtmlOpacity = (opacity / 100);
    object.filter = "alpha(opacity=" + opacity + ")";
}  
//product.js
function setFocus(control)
{
    var c = document.getElementById(control);
    
    c.focus();
}
//tabbedpanel.js
 function showPanel(containerID,panelID,panelsToHide)
    {
        var panel = document.getElementById(containerID+"_"+panelID);
        var hidePanels = panelsToHide.split(",");
        var hidePanelID;
        
        for(var i = 0; i < hidePanels.length - 1; i++)
        {
            hidePanelID = containerID+"_"+hidePanels[i];
            document.getElementById(hidePanelID).style.display = 'none';
        }
        
        panel.style.display = 'block';
    }    
    
//mercado.js
//freeSearch.js
//this function is called when clicking on the 
//Go button in the free search area
function goFreeTextSearch(searchWithinResults, searchTextID, baseUrlID, currentUrlID, cannedTriggerID)
{
    var baseURL = document.getElementById(baseUrlID).value;
	var currentURL = document.getElementById(currentUrlID).value;
	var freeTextValue = document.getElementById(searchTextID).value;
	
	if (freeTextValue == '')
		return false;
		
	freeTextValue = encodeURIComponent(freeTextValue);

	var dt = new Date();

	//building the next search parameters URL
	var cannedTrigger = document.getElementById(cannedTriggerID);
	
	if (searchWithinResults == 'True')
	{
	  //if withing results, take the current url and add the free text to it
		var url = currentURL + '&free_text|' + dt.getTime() + '=' + freeTextValue;
		if (cannedTrigger) 
		{
			if (cannedTrigger.value != "")
				url += '&canned_results_trigger=' + cannedTrigger.value;
		}
		window.location.href= url + '&deptId=0'; // need deptId to fool Meta Tag error on BasePage;

	}
	else
	{
	  //if new free search, take the basic url and the free text to it 
	  window.location.href = 'ProductSummary.aspx?free_text|' + dt.getTime() + '=' + freeTextValue + '&deptId=0'; // need deptId to fool Meta Tag error on BasePage
	}	
	
	return false;
}

function goSelectSite(multisiteDropDown)
{
  if (multisiteDropDown.value)    
  {
    var url;
    for  (var i=0; i< multisiteDropDown.options.length; i++)
    {
      if (multisiteDropDown.options[i].value == multisiteDropDown.value)
      {
        url = multisiteDropDown.options[i].attributes ["url"].value;
        break;
      }
    }
    window.location.href= url;
  }
}

//common.js
//This function is being used as the A tag URL, 
//to include the CMC regExp indentification - when redirection is not relevant
function ignore(cmc_param) {}
//This function is being used as the A tag URL, 
//to include the CMC regExp indentification - when redirection is relevent
function loadURL (url, cmc_param, newWindow)
{
  if (newWindow)
    window.open(url, "_blank"); 
  else
    window.location.href = url;
}

//filter.js
/*Setting the collapse\expand state of the filters.  
The function is called from each filter object but appears once in the search page*/
function SwitchStyle(imgObj)
{
	if (imgObj.title=='Expand') 
	{
		//img.td.tr.tbody.table.siblingTable = children table
		//imgObj.parentElement.parentElement.parentElement.parentElement.nextSibling.style.display='';
		imgObj.title = 'Collapse';
		imgObj.src = './Images/arrow_up.gif';
	}
	else
	{
		//img.td.tr.tbody.table.siblingTable = children table
		//imgObj.parentElement.parentElement.parentElement.parentElement.nextSibling.style.display='none';
		imgObj.title = 'Expand';
		imgObj.src = './Images/arrow_down.gif';		
	}
	// TAY, Changed IE4-style "parentElement" to W3C "parentNode" for modern browsers
	toggleDisplay(imgObj.parentNode.parentNode.parentNode.parentNode.nextSibling);
}

function toggleDisplay(domEle) {
// TAY, Moved the toggle into a function to add code to work with non-IE browsers
 if (domEle) {
 myEle = domEle

  while (!myEle.style) {
   myEle = myEle.nextSibling;
    if (!myEle) break;
  }
   
  if (myEle.style.display == 'block') {
   myEle.style.display='none';
  } else {
   myEle.style.display='block';
  }
  domEle = myEle;
 }
}

//search.js
//this function is being called when clicking the sort button
function goSort(ddlSortId)
{
    var value=document.getElementById(ddlSortId).value;
    var qsDelim = '?';
    
    // DMH 20080630 - modified to work in the CMC
//    var baseURL = document.getElementById('baseURLWithoutSort').value;
      var baseURL = document.URL;
    // DMH 20080630: this trims existing sort if it exists
    var sort_location = baseURL.indexOf('sort_option')
    if (sort_location > -1) {
          // Split the url into an array where the sort option is
          url_array = baseURL.split('sort_option');
          // Get the length of the second array value
          url_array_1_length = url_array[1].length;
          // Check to see if there is a querystring variable after sort (we don't want to lose it if so)
          // This will also tell us how much to trim (we don't want the value of the sort option either)
          nextquery = url_array[1].indexOf('&') + 1;
          if (nextquery > 0){
                // New url is the first half and the second, less the sort value
                baseURL = url_array[0] + url_array[1].substring(nextquery, url_array_1_length);
                } else {
                // New url is the first half, but we need to trim the ? or & that held the sort query option
                baseURL = url_array[0].substring(0, url_array[0].length - 1);
                }
          }
          var url;
          
          if(baseURL.indexOf('?') > -1) {
              qsDelim = '&';
          }
          
          url = baseURL + qsDelim + 'sort_option=' + value;
      
      window.location.href = url;
}
//this function is being called when clicking the compare button
function goCompare()
{
    //get all INPUT tags
    var compareChecks=document.getElementsByTagName ("input");
    if (compareChecks != null)
    {
      var selected_ids ="";
      for (var i=0; i< compareChecks.length; i++)
      { 
      
        //if it's a Checkbox and the ID contains the chkCompare string 
        // meaning it's a compare checkbox
        if (compareChecks[i].type =="checkbox") 
        {
          if (compareChecks[i].id.indexOf("chkProductCompare") != -1)
          {
            //if it's chekced, get the ID, from an attribute set on the server side and add it to the selected IDs list
            if (compareChecks[i].checked) 
                selected_ids += ((selected_ids.length==0)? "" : "|") + compareChecks[i].attributes["prod_id"].value;
          }
        }
      }
      if (selected_ids.length == 0)
        alert ("Please select products to compare");
      else //redirect to the compare page with the relevent url params
          window.location.href = "ProductCompare.aspx?selected_prod_ids=" + selected_ids;
    }
}

/* 
!!!!!!!!!!!!!!!!!!!!!!!!!
MODIFIED FROM ORIGINAL JS in topstrip.js
This allows us to change configuration options based on user selections.
For instance the ItemsPerPage is driven by a drop down. It is IMPORTANT to send
ALL these configuration parameters because the Mercado code saves the configuration
options in session and needs to detect if any changes have been made per request.
'''''''''''''''''''''''''
*/

function sendConfigOptions(perPage)
{
    var URLString = window.location.href;
    var qsDelim = "?";
    
    if(URLString.indexOf("?") > -1) {
	   qsDelim = "&"; 
	}
             
	//saving the values set by the user by sending them in the request for the next load		
	if (URLString.indexOf("config")!=-1)
		{URLString=URLString.substring(0,URLString.indexOf("config")-1)}
	
	{URLString = URLString + qsDelim;}
			
	URLString = URLString + 'config=true';
	
	// AllowComparison
	URLString = URLString + '&AllowCompare=false';
	URLString = URLString + '&ShowHighlights=false';
	URLString = URLString + '&ShowScore=false';
	URLString = URLString + '&ShowCounters=false';
	URLString = URLString + '&AttachedAttributes=false';
	URLString = URLString + '&ShowCommonRefinements=false';
    URLString = URLString + '&ItemsPerPage=' + perPage;		    
	URLString = URLString + '&ItemsPerRow=3';
	URLString = URLString + '&ViewBy=GRID';
	URLString = URLString + '&BuyerSegments=NONE';
	       
	window.location.href = URLString;
}
//power reviews full.js
//var POWERREVIEWS=POWERREVIEWS||(function(){var At={common:{},display:{}};var AI=false;var AL=false;var W=null;var AF={};var p={};var Aa={};var AO={};At.common.gResult=AO;window.gResult=AO;var Af={};var m=encodeURIComponent||escape;var y="prBaseStylesheet";var AZ="prMerchantOverrideStylesheet";var AA={pr_merchant_table:{"m5670":{"name":"Rods.com","cobranded":"true"}},pr_merchant_id:5670,pr_locale:"en_US",pr_read_review:"#ReviewHeader",pr_read_qa:"#QAHeader",pr_write_review:"http://www.rods.com/WriteReview.aspx?pr_page_id=~~~PAGE_ID~~~",pr_ask_question:"",pr_answer_question:"",pr_js_controller_url:"http://services.powerreviews.com/JSController.do",pr_reviews_per_page:5,pr_zip_location:"http://cdn.powerreviews.com/repos/12892/pr",pr_powerreviews_root:"pwr",pr_allow_engine_css_override:true,pr_style_sheet:"",pr_analytics_script_src:"",pr_analytics_account:"",pr_badge_definitions_url:"javascript:POWERREVIEWS.common.showSmallPopup('http://www.powerreviews.com/legal/badge_definitions_~~~LOCALE~~~.html', 580, 460)",pr_expert_badge_definitions_url:"javascript:POWERREVIEWS.common.showSmallPopup('http://www.powerreviews.com/legal/expert_badge_definitions_~~~LOCALE~~~.html', 580, 460)",pr_frame_height:3000,pr_submit_review_url:"http://services.powerreviews.com/SubmitReview.do",pr_ask_question_url:"http://services.powerreviews.com/SubmitQuestion.dox",pr_answer_question_url:"http://services.powerreviews.com/SubmitAnswer.dox",pr_resize_url:"http://www.rods.com/WriteReview.aspx?resize=1",pr_snippet_min_reviews:0,pr_source:"web",pr_image_snippet_show_image:Q,pr_image_snippet_max:7,pr_snippet_star_click:"",pr_back_to_top_link:"#",pr_highlight_review_url:"http://cdn.powerreviews.com/newreview/~~~REVIEW_ID~~~.js",pr_see_all_reviews_url:"",pr_nbr_displayed_profile_reviews:-1,pr_badge_table:{"11024":{"locales":{"en_GB":{"hovertext":"Staff Reviewer","description":"A Staff Expert is a merchant or brand employee with recognized expertise within the company who contributes a review based on in-depth knowledge of the product as well as related products.","filename":"badge_se_en_GB.gif"},"pt_BR":{"hovertext":"","description":"","filename":"badge_se_pt_BR.gif"},"en_US":{"hovertext":"Staff Reviewer","description":"A Staff Expert is a merchant or brand employee with recognized expertise within the company who contributes a review based on in-depth knowledge of the product as well as related products.","filename":"badge_se_en_US.gif"},"de_DE":{"hovertext":"Mitarbeiter-Bewerter","description":"","filename":"badge_se_de_DE.gif"},"it_IT":{"hovertext":"","description":"","filename":"badge_se_it_IT.gif"},"fr_CA":{"hovertext":"","description":"","filename":"badge_se_fr_CA.gif"},"fr_FR":{"hovertext":"","description":"","filename":"badge_se_fr_FR.gif"}},"label":"staff-expert","isStaff":true},"11023":{"locales":{"en_CA":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_CA.gif"},"en_GB":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_GB.gif"},"en_US":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_US.gif"},"de_DE":{"hovertext":"Mitarbeiter-Bewerter","description":"","filename":"badge_sr_de_DE.gif"},"fr_CA":{"hovertext":"Critique de personnel","description":"","filename":"badge_sr_fr_CA.gif"},"fr_FR":{"hovertext":"","description":"","filename":"badge_sr_fr_FR.gif"},"en_AU":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_AU.gif"},"nl_NL":{"hovertext":"Staff Beoordeler","description":"A Staff Beoordeler is een handelaar of merk werknemer die beoordelingen inzend op basis van eigendom of gebruik van het product.","filename":"badge_sr_nl_NL.gif"}},"label":"staff","isStaff":true}},pr_attribution_table:{}};var Aj={};if(window&&window.location&&window.location.search){var v=window.location.search.substring(1).split("&");for(var u=0,AT=v.length;u<AT;++u){var s=v[u].split("=");Aj[s[0]]=s[1];}}function Aq(A1){for(var A2=1,A0=arguments.length;A2<A0;++A2){var A3=arguments[A2];if(A3){var Az=A3[A1];if(typeof Az!="undefined"){return Az;}}}return null;}function Ae(A0,Az){var i=Aq(A0,Az,Aj,window,AA);if("pr_locale"==A0&&"3498"==Ae("pr_merchant_id",Az)){if(i=="en"){i="en_CA";}else{if(i=="fr"){i="fr_CA";}}}return i;}At.common.get=Ae;function S(A3){var A2=0;var A1;for(A1=0;A1<A3.length;A1++){var A0=A3.charCodeAt(A1);A0=A0*Math.abs(255-A0);A2+=A0;}A2=A2%1023;A2=A2+"";var A4=4;var Az=A2.split("");for(A1=0;A1<A4-A2.length;A1++){Az.unshift("0");}A2=Az.join("");A2=A2.substring(0,A4/2)+"/"+A2.substring(A4/2,A4);return A2;}function Aw(i,A0){if(AI){return true;}else{if(!Ac(A0)){return false;}}AI=true;if(!document.getElementById(y)){$(document).ready(function() { $('head').append('<link rel="stylesheet" href="'+z(A0)+'/engine/pr_styles_review.css" type="text/css" id="'+y+'">\n') });/*i.write('<link rel="stylesheet" href="'+z(A0)+'/engine/pr_styles_review.css" type="text/css" id="'+y+'">\n');*/}var A1=z(A0)+"/engine/merchant_styles2.css";var Az=Ak(Ae("pr_style_sheet",A0));if(Ae("pr_allow_engine_css_override",A0)&&Az){A1=Az;}if(!document.getElementById(AZ)){/*i.write('<link rel="stylesheet" href="'+A1+'" type="text/css" id="'+AZ+'">\n');*/}AE(z(A0)+"/engine/images/ph.gif?r="+Math.floor(Math.random()*10000));return true;}function Ac(i){if(AL){return true;}else{if(!Ae("pr_page_id",i)&&!Ae("pr_merchant_user_id",i)){return false;}}AL=true;return true;}function AQ(i,Az,A0){if(!document.getElementById(i)){setTimeout(function(){AQ(i,Az,A0);},1000);}else{A(i,Az,A0);}}function A(i,A0,A1){try{if(!A0){A0="";}AC(function(){t(document.getElementById(i),A0);if(A1){A1();}});}catch(Az){}}function t(A0,Az){if(A0.parentNode){var i=document.createElement("div");i.id=A0.id;i.className=A0.className;i.innerHTML=Az;A0.parentNode.replaceChild(i,A0);return i;}else{A0.innerHTML=Az;return A0;}}function AC(i){if(typeof i=="function"){(function(){if(Au()){try{document.documentElement.doScroll("left");}catch(Az){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function Au(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function AE(i){new Image().src=i;}function z(Az){var i=Ae("pr_zip_location",Az);if(i.charAt(i.length-1)!="/"){i+="/";}i+=Ae("pr_powerreviews_root",Az);return i;}At.common.getDocRoot=z;function AX(i){return i.replace(/\W/g,"__");}function b(Az,A1,A0,i){this.pageId=Az;this.fullReviewCount=A1;this.quickReviewCount=A0;this.averageRating=i;this.getFullReviewCount=function(){return this.fullReviewCount;};this.getQuickReviewCount=function(){return this.quickReviewCount;};this.getAverageRating=function(){return this.averageRating;};this.getPageId=function(){return this.pageId;};}function AM(Az,i,A0){return A0&&A0["locales"]&&A0["locales"][i]&&A0["locales"][i]["p"+Az];}function G(A0){var A1=document.getElementsByName(A0);for(var Az=0;Az<A1.length;Az++){if(A1[Az].checked){return A1[Az].value;}}return null;}function AN(i,A0,Az){return i.replace(new RegExp(A0,"g"),Az);}function Ak(i){return i&&i.replace(/^\s+|\s+$/g,"");}function As(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function o(A0,A1,A4,Az){var A2=z(Az);var A1=A1||A0.substring(A0.indexOf(A2)+A2.length+1);if(AO[A1]){A4(AO[A1]);}else{var i=document.createElement("script");var A3=function(){if(AO[A1]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}A4(AO[A1]);}};if(Au()){i.onreadystatechange=A3;}else{i.onload=A3;}i.type="text/javascript";i.charset="utf-8";i.src=A0;document.getElementsByTagName("head")[0].appendChild(i);}}function J(A3,A4,Az){if(A3.className){var A0=A3.className.split(" ");if(Az){var A2=A4.toUpperCase();for(var A1=0;A1<A0.length;A1++){if(A0[A1].toUpperCase()==A2){A0.splice(A1,1);A1--;}}}A0[A0.length]=A4;A3.className=A0.join(" ");}else{A3.className=A4;}}function AH(A2,A3){if(A2.className){var Az=A2.className.split(" ");var A1=A3.toUpperCase();for(var A0=0;A0<Az.length;A0++){if(Az[A0].toUpperCase()==A1){Az.splice(A0,1);A0--;}}A2.className=Az.join(" ");}}function O(A6,A7,A8){var A4=(A7=="*"&&A6.all)?A6.all:A6.getElementsByTagName(A7);var A3=new Array();var A9=new Array();if(typeof A8=="object"){for(var A2=0;A2<A8.length;A2++){A9.push(new RegExp("(^|\\s)"+A8[A2].replace(/\-/g,"\\-")+"(\\s|$)"));}}else{A9.push(new RegExp("(^|\\s)"+A8.replace(/\-/g,"\\-")+"(\\s|$)"));}var Az;var A5;for(var A1=0;A1<A4.length;A1++){Az=A4[A1];A5=true;for(var A0=0;A0<A9.length;A0++){if(!A9[A0].test(Az.className)){A5=false;break;}}if(A5){A3.push(Az);}}return A3;}function AW(Az,i){if(i(Az)==true){return Az;}else{if(Az.parentNode){return arguments.callee(Az.parentNode,i);}else{return false;}}}function AU(Az,i){Af[Az]=i;}function Z(i){return Af[i];}At.common.getOptions=Z;function h(Az,i,A2,A0){var A1=AF[Az];if(!A1){o(z(A0)+"/content/"+S(Az)+"/contents.js",null,function(A3){A1=AM(Az,i,A3);AF[Az]=A1?A1:"none";A2(A1);},A0);}else{if(A1=="none"){A2(null);}else{A2(A1);}}}function Al(Az,i,A1,A0){if(!W){o(z(A0)+"/content/"+S(Az)+"/"+Az+"-"+i+"-meta.js",null,function(A2){W=A2?A2.metadata:null;A1();},A0);}else{A1();}}function Y(Az,i,A2,A3,A1){if(!p[Az+"-"+A2]){var A0=z(A1)+"/content/"+S(Az)+"/"+Az+"-"+i+"-"+A2+"-reviews.js";o(A0,null,function(A7){var A5=[];for(var A6=0;A6<A7.length;A6++){var A4=A7[A6].r;Aa[A4.id]=A4;A5.push(A4);}p[Az+"-"+A2]=A5;A3();},A1);}else{A3();}}function B(A0,Az,A4,A5,A1){var A3=A4.length;for(var A2=0;A2<A4.length;A2++){Y(A0,Az,A4[A2],function(){if(--A3<=0){A5();}},A1);}}function Av(i){return Math.round(i*2)/2;}function Q(A0,A1,i,Az){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+m(A0),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+A1+",height="+i+",top=100,left=100");}At.common.showImagePopup=Q;function Ad(Az,i,A1){var A0=window.open(Az,"smallWindow","toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+A1+",height="+i+",top=200,left=200");if(window.focus){A0.focus();}}At.common.showSmallPopup=Ad;function AR(Az,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+m(Az),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}At.common.showVideoPopup=AR;function I(A2,A0,Az,A1){var i=function(){AH(document.getElementById(A2.target),"pr-open");J(document.getElementById(A2.target),"pr-closed");};var A3=function(){AH(document.getElementById(A2.target),"pr-closed");J(document.getElementById(A2.target),"pr-open");};if(window.event){A1=window.event;A1.cancelBubble=true;target=window.event.srcElement;currentTarget=event.srcElement.id;}else{if(A1){A1.stopPropagation();target=A1.target;currentTarget=A1.currentTarget.id;}else{return ;}}if(A0=="show"){if(document.getElementById(A2.target).className!="pr-open"){this.timedShow=setTimeout(A3,400);}else{if(AW(target,function(A4){if(A4.id==A2.target){return true;}})){if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}else{if(A0=="hide"){if(this.timedHide!=null){window.clearTimeout(this.timedShow);}if(currentTarget==A2.link||currentTarget==A2.target||AW(target,function(A4){if(A4.id==A2.target){return true;}})){this.timedHide=setTimeout(i,800);}else{if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}}At.common.togglePopOut=I;function f(A0,A1,Az,i){returnString=A0.substring(A1,Az);if(i){returnString+="...";}return returnString;}function Ax(i,Az){content=document.getElementById(Az).innerHTML;AQ(i,content);}var R={};var d=0;var V=1;var Ay=2;var Ai=3;var k=4;var M=5;var r=null;var AG=new Date();var E={};var Am={};var w=[];function Ab(i){return Ae("pr_merchant_table",i)["m"+Ae("pr_merchant_id",i)];}function x(i,Az){var A0=Ae("pr_analytics_script_src",Az);if(A0){i.write('<script src="'+A0+'" type="text/javascript"><\/script>');}}function D(A5,A6){if(Aw(A5,A6)){var A0=Ae("pr_page_id",A6);var A3=AX(A0);var A4=Ae("pr_locale",A6);var A2="engine-"+A3+"-"+A4;AU(A2,A6);var A1=document.getElementById("pr-review-engine-"+A3);if(!A1){Ao(A5,A3);}x(A5,A6);if(!A1){N(A3,A4,A2,A6);}var i=function(){var A9=document.getElementById("writeReview")||document.getElementById("write-review-"+A3);if(A9){var A7=AY(A0,A6);if(A7){A9.href=A7;var A8=document.getElementById("pr-snapshot-footer-"+A3);if(A8){A8.style.display="";}}}else{setTimeout(i,100);}};i();j(A3,A4,A6);var Az=Ae("pr_highlight_review_id",A6);if(Az){AJ(Az,A3,A4,A2,A6);}}}At.display.engine=D;function AJ(A1,A0,Az,i,A2){Ah(A1,function(A3){if(A3&&"Rejected"!=A3.s1&&"Rejected"!=A3.s2){AQ("pr-modal-"+A0,AV(A3,A0,Az,i,A2),function(){AP(A0);});}},A2);}function Ah(i,A0,Az){o(Ae("pr_highlight_review_url").replace("~~~REVIEW_ID~~~",i),"highlight-"+i,function(A1){A0(A1&&A1.r);},Az);}function AV(A0,A1,Az,i,A2){return("Pending"==A0.s1||"Pending"==A0.s2?"<h2>This review is pending moderation</h2>":"")+a([A0],A1,Az,null,1,1000,1,"","",true,i,A2);}function AY(i,Az){return AN(Ae("pr_write_review",Az),"~~~PAGE_ID~~~",i);}function Ao(i,Az){i.write('<div id="pr-review-engine-'+Az+'" class="pr-review-engine"><div id="pr-header-'+Az+'" class="pr-header"></div><div id="pr-contents-'+Az+'" class="pr-contents"></div></div>');}function l(A1,Az){var A0=Ak(Ae("pr_analytics_account",Az));if(window.urchinTracker&&A0){var i="";var A2=typeof _uacct!="undefined";if(A2){i=_uacct;}_uacct=A0;urchinTracker("/product_with_"+A1+"_reviews");if(A2){_uacct=i;}}}function N(A0,Az,i,A1){h(A0,Az,function(A3){var A2=(A3&&A3.reviews&&A3.reviews.review_count)||0;var A4=(A3&&A3.reviews&&A3.reviews.review_ratings)||[0,0,0,0,0];g(A0,Az,A2,A4,i,A1);if(A2>0){T(1,A0,Az,i,A1);}},A1);}function j(Az,i,A0){h(Az,i,function(A2){var A1=0;var A3=0;if(A2&&A2.reviews){A1=A2.reviews.review_count;A3=A2.reviews.avg;}AD("main",new b(Az,A1,0,Av(A3)));window.setTimeout(function(){l(A1,A0);},2000);},A0);}function K(A3,A0,Az,i,A1){var A2=new Date();if(A2.getTime()-AG.getTime()>1000){AG=A2;Al(A0,Az,function(){U(A3.selectedIndex,A0);Ar(1,A0,Az,i,A1);},A1);}}At.display.startSort=K;function U(A0,i){W.sort(R[A0]);r=A0;var Az=document.getElementById("pr-header-"+i);if(Az){Az.focus();}}function H(Az,i){return i.rid-Az.rid;}R[d]=function(Az,i){if(Az.date==i.date){return H(Az,i);}return i.date-Az.date;};R[V]=function(Az,i){if(i.date==Az.date){return H(i,Az);}return Az.date-i.date;};R[Ay]=function(Az,i){if(i.rating==Az.rating){return H(Az,i);}return i.rating-Az.rating;};R[Ai]=function(Az,i){if(i.rating==Az.rating){return H(i,Az);}return Az.rating-i.rating;};R[k]=function(Az,i){if(i.helpfulScore==Az.helpfulScore){return H(Az,i);}return i.helpfulScore-Az.helpfulScore;};R[M]=function(Az,i){if(i.helpfulScore==Az.helpfulScore){return H(i,Az);}return Az.helpfulScore-i.helpfulScore;};function T(A2,A0,Az,i,A1){h(A0,Az,function(A3){var A4=[A2];B(A0,Az,A4,function(){var A5=0;if(A3.reviews){A5=A3.reviews.review_count;}AQ("pr-contents-"+A0,a(p[A0+"-"+A2],A0,Az,A3.name,A5,Ae("pr_reviews_per_page",A1),1,"#pr-header-"+A0,"#pr-header-"+A0,false,i,A1));},A1);},A1);}function Ar(A2,A0,Az,i,A1){Al(A0,Az,function(){if(r==null){U(d,A0);}h(A0,Az,function(A6){var A4=Ae("pr_reviews_per_page",A1);var BA=(A2-1)*A4;var A8=BA+A4-1;if(A8>A6.reviews.review_count-1){A8=A6.reviews.review_count-1;}var A9=[];var A7={};for(var A5=BA;A5<=A8;A5++){var A3=W[A5].batch;if(!A7[A3]){A9.push(A3);A7[A3]=true;}}B(A0,Az,A9,function(){var BC=[];for(var BB=BA;BB<=A8;BB++){BC.push(Aa[W[BB].rid]);}AQ("pr-contents-"+AX(A0),a(BC,A0,Az,A6.name,A6.reviews.review_count,A4,A2,"#pr-header-"+A0,"#pr-header-"+A0,false,i,A1));},A1);},A1);},A1);}At.display.getReviewsFromMeta=Ar;function g(A0,Az,A2,A3,i,A1){if(A2>0){o(z(A1)+"/content/"+S(A0)+"/"+A0+"-"+Az+"-rollup.js",null,function(A4){if(A4.rollup){AQ("pr-header-"+A0,C(A2,A3,A4.rollup,A0,Az,i,A1));}},A1);}else{AQ("pr-header-"+A0,C(A2,A3,null,A0,Az,i,A1));}}function c(Az,A1,i,A0){var A2="Thank you for your feedback.  Please note that only your first vote will be counted.";if(!E[Az]||E[Az]=="undefined"){AE(Ae("pr_js_controller_url",A0)+"?command=helpfulVote&reviewId="+Az+"&voteType="+A1);E[Az]=1;}else{A2="You may only submit one vote per review.";}AQ("review_feedback"+Az,A2);}At.display.submitHelpfulVote=c;function q(Az,i,A0){if(!Am[Az]||Am[Az]=="undefined"){document.getElementById("error_div"+Az).style.display="block";}else{AQ("review_feedback"+Az,"You have already notified us of an error for this review.");}}At.display.launchErrorDiv=q;function AS(i){document.getElementById("error_div"+i).style.display="none";}function L(Az,i,A1){var A3=G("error_radio"+Az);var A5=document.getElementById("error_comments"+Az).value;A5=A5.substring(0,256);var A0=document.getElementById("error_contact_email"+Az).value;var A4=document.location.href;if(A4&&typeof A4!="undefined"){var A2=A4.split("/",4)[2];A5+="\n["+A2+"]";}AE(Ae("pr_js_controller_url",A1)+"?command=helpfulVote&reviewId="+Az+"&merchantId="+Ae("pr_merchant_id",A1)+"&voteType="+A3+"&errorComments="+m(A5)+"&errorContactEmail="+m(A0));AQ("review_feedback"+Az,"Thank you for notifying us of this error.");E[Az]=1;Am[Az]=1;AS(Az);}At.display.submitError=L;function n(A1,A0){if(typeof A1=="function"&&Ac(A0)){var Az=Ae("pr_page_id",A0);var i=AX(Az);h(i,Ae("pr_locale",A0),function(A2){if(A2&&A2.reviews){A1(new b(Az,A2.reviews.review_count,0,Av(A2.reviews.avg)));}else{A1(new b(Az,0,0,0));}},A0);}}At.display.prData=n;function e(i){w.push(i);}At.display.registerCallback=e;function F(){return{"offsetY":document.body.scrollTop||document.documentElement.scrollTop,"viewportWidth":document.getElementsByTagName("body")[0].clientWidth};}function AP(i){X(i);var Az=document.getElementById("pr-modal-container-"+i);document.getElementsByTagName("body")[0].appendChild(Az);var A0=F();Az.style.left=((A0.viewportWidth-Az.offsetWidth)/2)+"px";Az.style.top=(A0.offsetY+100)+"px";AH(Az,"pr-hidden");}function AK(i){J(document.getElementById("pr-modal-container-"+i),"pr-hidden");}At.display.hideModal=AK;function X(i){var Az=document.getElementById("pr-modal-container-"+i);var A0=O(document,"div","pr-modal-wrapper");Az.style.height="422px";A0[0].style.height="380px";}function Ap(A0,A2){Ax("pr-modal-"+A0,A2);var Az=document.getElementById("pr-modal-container-"+A0);var A1=O(document,"div","pr-modal-wrapper")[0];var i=O(document,"div","pr-review-faceoff-review-wrapper")[0];Az.style.width=(i.scrollWidth-20)+"px";Az.style.height=(i.offsetHeight+47)+"px";A1.style.width="auto";A1.style.height=(i.offsetHeight+5)+"px";Az.style.left=(i.offsetLeft+10)+"px";Az.style.top=(i.offsetTop-40)+"px";AH(Az,"pr-hidden");}At.display.displayFaceoffModal=Ap;function AD(A1,A0){for(var Az=0;Az<w.length;Az++){w[Az](A1,A0);}}function C(Az,A5,BF,A9,BC,BG,A2){var A6=[];var BB=z(A2);var BD={describeyourself:"Reviewer Profile"};var A3={};if(BF&&BF.g){for(var BE=0;BE<BF.g.length;BE++){A3[BF.g[BE].k]=true;}}var A8=0;for(BE=0;BE<A5.length;BE++){A8=(A5[BE]+A8);}var A0=["1 Stars","2 Stars","3 Stars","4 Stars","5 Stars"];A6.push('<div class="pr-snapshot"><a name="ReviewHeader"></a><div class="pr-snapshot-head"><div class="pr-snapshot-head-wrapper"><p class="pr-snapshot-title">');A6.push("REVIEW SNAPSHOT&reg;");A6.push('</p><a href="#" class="pr-snapshot-cobrand" onclick="POWERREVIEWS.common.showSmallPopup(\'');A6.push("http://www.powerreviews.com/legal/index_prx_en_US.html");A6.push("', 480, 430); return false;\">");A6.push("by PowerReviews Express");A6.push('</a></div></div><div class="pr-clear"></div><div class="pr-snapshot-body"><div class="pr-snapshot-body-wrapper">');if(Az>0){A6.push('<div class="pr-snapshot-rating-wrapper">                                        <div class="pr-snapshot-rating"><div class="pr-stars" style="background-position: 0px ');A6.push(BF.a*-46);A6.push('px;">&nbsp;</div><span class="pr-rating pr-rounded">');A6.push((BF.d*10)%10==0?BF.d+".0":BF.d);A6.push('</span>                         <p class="pr-snapshot-average-based-on-text">');if(Az==1){A6.push("(");A6.push("based on {0} review".replace("{0}","1"));A6.push(")");}else{A6.push("(");A6.push("based on {0} reviews".replace("{0}",Az));A6.push(")");}A6.push("</p>");if(A8>0){A6.push("<div id=\"pr-snapshot-histogram\"><a href=\"#\" id=\"pr-snapshot-histogram-lnk\" onclick=\"return false\" onmouseover=\"POWERREVIEWS.common.togglePopOut({'target':'pr-snapshot-histogram-container'},'show', this, event)\" onmouseout=\"POWERREVIEWS.common.togglePopOut({'link':'pr-snapshot-histogram-lnk','target':'pr-snapshot-histogram-container'},'hide', this, event)\"><img src=\"");A6.push(BB);A6.push("/engine/images/icon_popout.gif\"/></a><div id=\"pr-snapshot-histogram-container\" class=\"pr-closed\" onmouseover=\"POWERREVIEWS.common.togglePopOut({'target':'pr-snapshot-histogram-container'},'show', this, event)\" onmouseout=\"POWERREVIEWS.common.togglePopOut({'link':'pr-snapshot-histogram-lnk','target':'pr-snapshot-histogram-container'},'hide', this, event)\"><p id=\"pr-snapshot-histogram-header\"><span>");A6.push("Ratings Distribution");A6.push('</span></p><div id="pr-snapshot-histogram-wrapper"><ul id="pr-snapshot-histogram-content">');for(BE=A0.length-1;BE>=0;BE--){A6.push('<li class="pr-histogram-');A6.push([BE+1]);A6.push('Stars"><p class="pr-histogram-label"><span>');A6.push(A0[BE]);A6.push('<span></p><div class="pr-snapshot-histogram-bar">');if(A5[BE]!=0){A6.push('<div class="pr-snapshot-histogram-barValue" style="width:');A6.push(A5[BE]/A8*(100));A6.push('%">&nbsp;</div>');}else{A6.push("&nbsp;");}A6.push('</div><p class="pr-histogram-count">');if(A5[BE]!=0){A6.push("<span>(");A6.push(A5[BE]);A6.push(")</span>");}else{A6.push("<span>(0)</span>");}A6.push("</p></li>");}A6.push("</ul></div></div></div>");}A6.push('</div><div class="pr-clear"></div>');if(BF.b){A6.push('<div class="pr-snapshot-consensus"><p class="pr-snapshot-consensus-value pr-rounded">');A6.push(Math.round(100*BF.b));A6.push('%</p> <p class="pr-snapshot-consensus-text">');A6.push("of respondents would recommend this to a friend.");A6.push("</p></div>");}A6.push("</div>                ");if(BF.g){A6.push('<div class="pr-review-points"><div class="pr-review-points-attr-wrapper"><div class="pr-attribute-group pr-rounded pr-attribute-pros');A6.push(A3.pros?"":" pr-empty");A6.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-pros">');A6.push("Pros");A6.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');for(var BH=0;BH<BF.g.length;BH++){var A4=BF.g[BH];if(A4.k=="pros"){for(var A7=0;A7<A4.v.length;A7++){var BA=A4.v[A7];A6.push("<li>");A6.push(BA.n);A6.push("&nbsp;(");A6.push(BA.c);A6.push(")</li>");}}}A6.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-cons');A6.push(A3.cons?"":" pr-empty");A6.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-cons">');A6.push("Cons");A6.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');for(var BH=0;BH<BF.g.length;BH++){var A4=BF.g[BH];if(A4.k=="cons"){for(var A7=0;A7<A4.v.length;A7++){var BA=A4.v[A7];A6.push("<li>");A6.push(BA.n);A6.push("&nbsp;(");A6.push(BA.c);A6.push(")</li>");}}}A6.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-bestuses');A6.push(A3.bestuses?"":" pr-empty");A6.push(' pr-last"><div class="pr-attribute-key"><p class="pr-attribute-label-bestuses">');A6.push("Best Uses");A6.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');for(var BH=0;BH<BF.g.length;BH++){var A4=BF.g[BH];if(A4.k=="bestuses"){for(var A7=0;A7<A4.v.length;A7++){var BA=A4.v[A7];A6.push("<li>");A6.push(BA.n);A6.push("&nbsp;(");A6.push(BA.c);A6.push(")</li>");}}}A6.push('</ul></div></div><div class="pr-clear"></div></div></div><div class="pr-other-attributes"><ul class="pr-other-attributes-list">');for(var BH=0;BH<BF.g.length;BH++){var A4=BF.g[BH];if(A4.k!="pros"&&A4.k!="cons"&&A4.k!="bestuses"){var A1=[];for(var A7=0;A7<A4.v.length;A7++){var BA=A4.v[A7];A1.push(BA.n+"&nbsp;("+BA.c+")");}A6.push('<li class="pr-other-attribute-label">');A6.push(BD[A4.k]||A4.n);A6.push(':</li><li class="pr-other-attribute-value">');A6.push(A1.join(", "));A6.push("</li>");}}A6.push('<li class="pr-clear"></li></ul></div>');}A6.push('<div id="pr-snapshot-footer-');A6.push(A9);A6.push('" class="pr-snapshot-footer" style="display:none"><a href="#" id="write-review-');A6.push(A9);A6.push('" class="pr-write-review-link"><div class="pr-snapshot-write-review"><span>');A6.push("Write a Review");A6.push("</span></div></a></div>");}else{A6.push('<div id="pr-snapshot-footer-');A6.push(A9);A6.push('" class="pr-snapshot-footer" style="display:none"><p class="pr-snapshot-no-ratings">');A6.push("Not yet rated. Be the first to");A6.push(' <a href="#" id="write-review-');A6.push(A9);A6.push('" class="pr-write-review-link">');A6.push("Write a Review");A6.push("</a></p></div>");}A6.push("</div></div>");if(BF&&BF.fo&&false){A6.push('<div class="pr-review-faceoff"><div class="pr-review-faceoff-review-wrapper"><div id="pr-review-faceoff-positive-');A6.push(A9);A6.push('" class="pr-review-faceoff-review pr-review-faceoff-review-positive"><p class="pr-review-faceoff-label">');A6.push("Most Liked Positive Review");A6.push('</p><div class="pr-review-faceoff-review-content"><div class="pr-stars" style="background-position: 0px ');A6.push(BF.fo.f2.r.r*-46);A6.push('px;">&nbsp;</div><p class="pr-review-faceoff-title">');A6.push(BF.fo.f2.r.h);A6.push('</p><p class="pr-review-faceoff-review">');if(BF.fo.f2.cf){A6.push(f(BF.fo.f2.r.p,0,BF.fo.f2.cf,true));A6.push('<a class="pr-review-faceoff-readcomplete" href="#" onclick="POWERREVIEWS.display.displayFaceoffModal(\'');A6.push(A9);A6.push("','pr-review-faceoff-positive-");A6.push(A9);A6.push("'); return false\">");A6.push("Read complete review");A6.push("</a>");}else{A6.push(BF.fo.f2.r.p);}A6.push('</p><p class="pr-review-faceoff-review-full">');A6.push(BF.fo.f2.r.p);A6.push('</p></div></div><div class="pr-review-faceoff-img"><p class="pr-review-faceoff-img-txt">');A6.push("VS");A6.push('</p></div><div id="pr-review-faceoff-negative-');A6.push(A9);A6.push('" class="pr-review-faceoff-review pr-review-faceoff-review-negative"><p class="pr-review-faceoff-label">');A6.push("Most Liked Negative Review");A6.push('</p><div class="pr-review-faceoff-review-content"><div class="pr-stars" style="background-position: 0px ');A6.push(BF.fo.f1.r.r*-46);A6.push('px;">&nbsp;</div><p class="pr-review-faceoff-title">');A6.push(BF.fo.f1.r.h);A6.push('</p><p class="pr-review-faceoff-review">');if(BF.fo.f1.cf){A6.push(f(BF.fo.f1.r.p,0,BF.fo.f1.cf,true));A6.push('<a class="pr-review-faceoff-readcomplete" href="#" onclick="POWERREVIEWS.display.displayFaceoffModal(\'');A6.push(A9);A6.push("','pr-review-faceoff-negative-");A6.push(A9);A6.push("'); return false\">");A6.push("Read complete review");A6.push("</a>");}else{A6.push(BF.fo.f1.r.p);}A6.push('</p><p class="pr-review-faceoff-review-full">');A6.push(BF.fo.f1.r.p);A6.push('</p></div></div><div class="pr-clear"></div></div></div>');}A6.push('</div><div id="pr-modal-container-');A6.push(A9);A6.push('" class="pr-modal-container pr-review-engine pr-hidden"><div class="pr-modal-toolbar"><a class="pr-modal-container-close" href="#" onclick="POWERREVIEWS.display.hideModal(\'');A6.push(A9);A6.push('\'); return false;"><span>close</span></a><div class="pr-clear"></div></div><div class="pr-modal-wrapper"><div id="pr-modal-');A6.push(A9);A6.push('" class="pr-modal-content"></div></div></div>');if(Az>0){A6.push('<div class="pr-review-sort"><div class="pr-review-sort-wrapper">');if(Az==1){A6.push('<p class="pr-review-count">');A6.push("Reviewed by 1 customer");A6.push("</p>");}else{if(Az>1){A6.push('<p class="pr-review-count">');A6.push("Reviewed by {0} customers".replace("{0}",Az));A6.push('</p><div class="pr-review-sort-box"><p class="pr-review-sort-by">');A6.push("Sort by");A6.push("</p><select onchange=\"POWERREVIEWS.display.startSort(this, '");A6.push(A9);A6.push("', '");A6.push(BC);A6.push("', '");A6.push(BG);A6.push("', POWERREVIEWS.common.getOptions('");A6.push(BG);A6.push('\'));"><option value="date_new" selected="true">');A6.push("Newest");A6.push('</option><option value="date_old">');A6.push("Oldest");A6.push('</option><option value="rating_high">');A6.push("Highest rating");A6.push('</option><option value="rating_low">');A6.push("Lowest rating");A6.push('</option><option value="helpful_high">');A6.push("Most helpful");A6.push('</option><option value="helpful_low">');A6.push("Least helpful");A6.push("</option></select></div>");}}A6.push('<div class="pr-clear"></div></div></div>');}A6.push("<!-- ilkj -->");return A6.join("");}At.display.processRollupTemplate=C;function a(BL,Bm,BI,BP,BN,A2,A5,BR,Az,Be,BS,BM){var BC=[];var BF=(A5-1)*A2;var A3=BF+A2-1;if(A3>BN-1){A3=BN-1;}var Bn=Ae("pr_back_to_top_link",BM);var Bd=z(BM);var Bl=AN(Ae("pr_badge_definitions_url",BM),"~~~LOCALE~~~",BI);var BW=AN(Ae("pr_expert_badge_definitions_url",BM),"~~~LOCALE~~~",BI);var BE=["Got it? Rate it.","Not good","Needs that special something","Average, ordinary","That's good stuff","Perfect. It doesn't get any better"];BC.push('<div class="pr-contents-wrapper">');if(!Be){BC.push('<div class="pr-pagination-top"><p class="pr-page-count">');if(BF==A3){BC.push("Displaying review");BC.push(" <strong>");BC.push((BF+1));BC.push("</strong>");}else{BC.push("Displaying reviews");BC.push(" <strong>");BC.push((BF+1)+"-"+(A3+1));BC.push("</strong>");}BC.push('</p><p class="pr-nav-back-to-top"><a href="');BC.push(Bn);BC.push('">');BC.push("Back to top");BC.push("</a></p>");if(BN>A2){BC.push('<p class="pr-page-nav"><span class="pr-page-prev">');if(BF>0){BC.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BC.push(A5-1);BC.push(", '");BC.push(Bm);BC.push("', '");BC.push(BI);BC.push("', '");BC.push(BS);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push('\')); return false;" href="');BC.push(BR.replace("~~~REVIEW_PAGE~~~",A5-1));BC.push('">&laquo; ');BC.push("Previous");BC.push("</a>");}else{BC.push("Previous");}BC.push('</span><span class="pr-divider"> | </span><span class="pr-page-next">');if(A3<BN-1){BC.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BC.push(A5+1);BC.push(", '");BC.push(Bm);BC.push("', '");BC.push(BI);BC.push("', '");BC.push(BS);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push('\')); return false;" href="');BC.push(Az.replace("~~~REVIEW_PAGE~~~",A5+1));BC.push('">');BC.push("Next");BC.push(" &raquo;</a>");}else{BC.push("Next");}BC.push("</span></p>");}BC.push('<div class="pr-clear"></div></div>');}for(var BT=0;BT<BL.length;BT++){var A6=BL[BT];var Bf={};var BX=false;if(A6.g){for(var Bj=0;Bj<A6.g.length;Bj++){var BA=A6.g[Bj].k;Bf[BA]=true;BX=BX||(BA!="pros"&&BA!="cons"&&BA!="bestuses"&&BA!="describeyourself");}}BC.push('<div class="pr-review-wrap"><div class="pr-review-rating-wrapper"><div class="pr-review-author-date pr-rounded">');BC.push(A6.d);BC.push("</div>");if(Be&&A6.pr&&A6.pr.n){BC.push('<p class="pr-review-about">');BC.push("Review of");BC.push(' <a href="');BC.push(A6.pr.u);BC.push('">');BC.push(A6.pr.n);BC.push("</a></p>");}if(A6.t>0){BC.push('<div class="pr-review-most-helpful"><p>(<span>');BC.push("{0} of {1}".replace("{0}",A6.v).replace("{1}",A6.t));BC.push("</span> ");BC.push("customers found this review helpful");BC.push(")</p></div>");}BC.push('<div class="pr-review-rating"><div class="pr-stars pr-stars-small" style="background-position: 0px ');BC.push(A6.r*-36);BC.push('px;" title="');BC.push(BE[A6.r]);BC.push('">&nbsp;</div><span class="pr-rating pr-rounded">');BC.push(A6.r);BC.push('.0</span><p class="pr-review-rating-headline">');BC.push(A6.h);BC.push('</p></div></div><div class="pr-review-author"><div class="pr-review-author-info-wrapper"><p class="pr-review-author-name">');BC.push("By");BC.push("&nbsp;");if(!Be&&A6.pi){BC.push("<span>");var BK=Ae("pr_see_all_reviews_url",BM).replace("~~~MERCHANT_USER_ID~~~",A6.mu).replace("~~~NICKNAME~~~",A6.n);if(BK){BC.push('<a class="pr-review-author-profile-link" href="');BC.push(BK);BC.push('">');BC.push(A6.n);BC.push("</a>");}else{BC.push('<a class="pr-review-author-profile-link" href="#" onclick="POWERREVIEWS.display.showProfile(\'');BC.push(A6.pi);BC.push("', '");BC.push(A6.n);BC.push("', '");BC.push(Bm);BC.push("', '");BC.push(BI);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push("')); return false;\">");BC.push(A6.n);BC.push("</a>");}BC.push("</span>");}else{BC.push("<span>");BC.push(A6.n);BC.push("</span>");}BC.push('</p> <p class="pr-review-author-location">');BC.push("from");BC.push(" <span>");BC.push(A6.w);BC.push("</span></p></div>");if(A6.g){for(var A0=0;A0<A6.g.length;A0++){var BD=A6.g[A0];if(BD.k=="describeyourself"){BC.push('<div class="pr-review-author-affinity-wrapper"><p class="pr-review-author-affinities">');BC.push("About Me"||BD.n);BC.push(" <span>");BC.push(BD.v.join(", "));BC.push("</span></p></div>");}}}var BY=null;if(A6.cb){var A1=Ae("pr_badge_table",BM);for(var BQ=0;BQ<A6.cb.length;BQ++){BY=A1[A6.cb[BQ]];if(BY){break;}}}var Ba=null;if(A6.at){var A4=Ae("pr_attribution_table",BM);Ba=A4[A6.at];}var Bg=(A6.o&&A6.o=="e");var A8=A6.m;var BZ=(A6.c&&A6.c=="v");if(Bg||BY||A8||BZ){BC.push('<div class="pr-review-author-badge-wrapper">');if(Bg){BC.push('<div class="pr-review-author-verified-buyer-wrapper pr-review-author-verified-buyer-');BC.push(BI);BC.push('"><a href="');BC.push(Bl);BC.push('"><img class="pr-badge pr-verified-buyer" src="');BC.push(Bd);BC.push("/engine/images/badge_vp_");BC.push(BI);BC.push(".gif");BC.push('" alt="');BC.push("Verified Buyer");BC.push('" title="');BC.push("Verified Buyer");BC.push('" /></a></div>');}if(BY){var A9=BY.locales[BI];var Bi=(BY.label=="staff"||BY.label=="staff-expert");if(A9){var BH=BY.label.replace(/[^-_a-zA-Z]/g,"_");var BO="pr-review-author-"+BH+"-wrapper";BC.push('<div class="');BC.push(BO);BC.push(" ");BC.push(BO);BC.push("-");BC.push(BI);BC.push('">');if(Bi){BC.push('<a href="');BC.push(BW);BC.push('">');}BC.push('<img class="pr-badge pr-');BC.push(BH);BC.push('" src="');BC.push(Bd);BC.push("/engine/images/badges/");BC.push(A9.filename);BC.push('" alt="');BC.push(A9.hovertext);BC.push('" title="');BC.push(A9.hovertext);BC.push('" />');if(Bi){BC.push("</a>");}BC.push("</div>");}}else{if(A8){BC.push('<div class="pr-review-author-member-badge-wrapper pr-review-author-member-badge-wrapper-');BC.push(BI);BC.push('"><img class="pr-badge pr-site-member" src="');BC.push(Bd);BC.push('/engine/images/pixel.gif" alt="');BC.push("Site Member");BC.push('" title="');BC.push("Site Member");BC.push('" /></div>');}}if(BZ&&!false&&!Bg&&!BY&&!A8){BC.push('<div class="pr-review-author-verified pr-review-author-verified-');BC.push(BI);BC.push('"><a href="');BC.push(Bl);BC.push('"><img class="pr-badge pr-verified" src="');BC.push(Bd);BC.push("/engine/images/badge_vr_");BC.push(BI);BC.push(".gif");BC.push('" alt="');BC.push("Verified Reviewer");BC.push('" title="');BC.push("Verified Reviewer");BC.push('" /></a></div>');}BC.push("</div>");}BC.push('</div><div class="pr-review-main-wrapper">');if(A6.g){BC.push('<div class="pr-review-points"><div class="pr-review-points-attr-wrapper"><div class="pr-attribute-group pr-rounded pr-attribute-pros');BC.push(Bf.pros?"":" pr-empty");BC.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-pros">');BC.push("Pros");BC.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var A0=0;A0<A6.g.length;A0++){var BD=A6.g[A0];if(BD.k=="pros"){for(var Bc=0;Bc<BD.v.length;Bc++){BC.push("<li>");BC.push(BD.v[Bc]);BC.push("</li>");}break;}}BC.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-cons');BC.push(Bf.cons?"":" pr-empty");BC.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-cons">');BC.push("Cons");BC.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var A0=0;A0<A6.g.length;A0++){var BD=A6.g[A0];if(BD.k=="cons"){for(var Bc=0;Bc<BD.v.length;Bc++){BC.push("<li>");BC.push(BD.v[Bc]);BC.push("</li>");}break;}}BC.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-bestuses');BC.push(Bf.bestuses?"":" pr-empty");BC.push(' pr-last"><div class="pr-attribute-key"><p class="pr-attribute-label-bestuses">');BC.push("Best Uses");BC.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var A0=0;A0<A6.g.length;A0++){var BD=A6.g[A0];if(BD.k=="bestuses"){for(var Bc=0;Bc<BD.v.length;Bc++){BC.push("<li>");BC.push(BD.v[Bc]);BC.push("</li>");}break;}}BC.push('</ul></div></div><div class="pr-clear"></div></div></div>');}BC.push('<div class="pr-review-text">');if(BP){BC.push('<p class="pr-comments-header">');BC.push("Comments about <em>{0}</em>:".replace("{0}",BP));BC.push("</p>");}BC.push('<p class="pr-comments">');BC.push(As(A6.p));BC.push("</p></div>");if(A6.z){BC.push('<div class="pr-review-text"><p class="pr-comments-header">');BC.push("Service and delivery comments:");BC.push('</p><p class="pr-comments">');BC.push(As(A6.z));BC.push("</p></div>");}if(BX||A6.rp||A6.sp||A6.tb){BC.push('<div class="pr-other-attributes"><ul class="pr-other-attributes-list">');if(A6.g){for(var A0=0;A0<A6.g.length;A0++){var BD=A6.g[A0];if(BD.k!="pros"&&BD.k!="cons"&&BD.k!="bestuses"&&BD.k!="describeyourself"){BC.push('<li class="pr-other-attribute-label">');BC.push(BD.n);BC.push(':</li><li class="pr-other-attribute-value">');BC.push(BD.v.join(", "));BC.push("</li>");}}}if(A6.tb){for(var A0=0;A0<A6.tb.length;A0++){var BD=A6.tb[A0];BC.push('<li class="pr-other-attribute-label pr-merchant-question-label">');BC.push(BD.n);BC.push(':</li><li class="pr-other-attribute-value pr-merchant-question-value">');BC.push(BD.v);BC.push("</li>");}}if(A6.rp){var BG=[];for(var Bh=0;Bh<A6.rp.length;Bh++){var BU=A6.rp[Bh];BG.push(BU.u?'<a href="'+BU.u+'">'+BU.n+"</a>":BU.n);}BC.push('<li class="pr-other-attribute-label">');BC.push("Recommended");BC.push(':</li><li class="pr-other-attribute-value">');BC.push(BG.join(", "));BC.push("</li>");}if(A6.sp){var BJ=[];for(var Bk=0;Bk<A6.sp.length;Bk++){var A7=A6.sp[Bk];BJ.push(A7.u?'<a href="'+A7.u+'">'+A7.n+"</a>":A7.n);}BC.push('<li class="pr-other-attribute-label">');BC.push("Similar");BC.push(':</li><li class="pr-other-attribute-value">');BC.push(BJ.join(", "));BC.push("</li>");}BC.push('<li class="pr-clear"></li></ul></div>');}BC.push('<div class="pr-review-footer">');if(A6.b){BC.push('<div class="pr-review-bottom-line-wrapper"><p><span class="pr-review-bottom-line">');BC.push(A6.b.n);BC.push("</span> <span></span>");BC.push(A6.b.v);BC.push("</p></div>");}if(A6.i){BC.push('<div class="pr-customer-media">');for(var Bb=0;Bb<A6.i.r.length;Bb++){var BB=A6.i.r[Bb];BC.push('<div class="pr-customer-media-wrapper"><p class="pr-customer-media-user">');if(A6.i.t=="i"){BC.push("Images shared by");BC.push(" <span>");BC.push(A6.n);BC.push("</span>");}else{if(A6.i.t=="v"){BC.push("Images shared by");BC.push(" <span>");BC.push(A6.n);BC.push("</span>");}else{BC.push("Images shared by");BC.push(" <span>");BC.push(A6.n);BC.push("</span>");}}BC.push('</p><div class="pr-pic pr-rounded"><p class="pr-caption">');BC.push(BB.c);BC.push('</p><div class="pr-pic-content"><div class="wrap1"><div class="wrap2">');if(!BB.v){if(BB.s){BC.push('<a href="#" onclick="POWERREVIEWS.common.showImagePopup(\'');BC.push(BB.s.u);BC.push("', ");BC.push(BB.s.w);BC.push(", ");BC.push(BB.s.h);BC.push(", POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push('\')); return false;"><img src="');BC.push(Bd);BC.push("/content");BC.push(BB.h.u);BC.push('" alt="');BC.push("Image Thumbnail");BC.push('" width="');BC.push(BB.h.w);BC.push('" height="');BC.push(BB.h.h);BC.push('" /></a>');}else{BC.push('<img src="');BC.push(Bd);BC.push("/content");BC.push(BB.h.u);BC.push('" alt="');BC.push("Image Thumbnail");BC.push('" width="');BC.push(BB.h.w);BC.push('" height="');BC.push(BB.h.h);BC.push('" />');}}else{BC.push('<a href="#" onclick="POWERREVIEWS.common.showVideoPopup(\'');BC.push(BB.v);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push('\')); return false;"><img src="');BC.push(BB.h.u);BC.push('" alt="');BC.push("Video Thumbnail");BC.push('" width="75" height="50" onerror="this.src=\'http://powerreviews.s3.amazonaws.com/videos/youtube_coming_soon.jpg\'"/></a>');}BC.push("</div></div></div>");if(BB.g){BC.push('<p class="pr-pic-tags"><span class="pr-tag-label">');BC.push("Tags:");BC.push("</span> ");BC.push(BB.g.join(", "));BC.push("</p>");}BC.push("</div></div>");}BC.push('<div class="pr-clear"></div></div>');}if(A6.y){BC.push('<div class="pr-merchant-comments">');for(var BV=0;BV<A6.y.length;BV++){BC.push('<p class="pr-merchant-comments-text"><span>');BC.push("Merchant response: ".replace("{0}",Ab(BM).name));BC.push("</span>");BC.push(As(A6.y[BV]));BC.push("</p>");}BC.push("</div>");}if(Ba){if(Ba.originating_merchant_url&&Ba.image_uri){if(Ba.attribution_text){BC.push('<div class="pr-review-attribution">');if(Ba.attribution_text){BC.push('<div class="pr-review-attribution-text"><p>');BC.push(Ba.attribution_text);BC.push("</p></div>");}BC.push('<div class="pr-review-attribution-img"><p class="pr-review-attribute-imgLabel">');BC.push("REVIEWED AT");BC.push('</p><a href="');BC.push(Ba.originating_merchant_url);BC.push('"><img src="');BC.push(Bd);BC.push("/engine/images/");BC.push(Ba.image_uri);BC.push('"/></a></div><div class="pr-clear"></div></div>');}else{BC.push('<div class="pr-review-attribution-img"><p class="pr-review-attribute-imgLabel">');BC.push("REVIEWED AT");BC.push('</p><a href="');BC.push(Ba.originating_merchant_url);BC.push('"><img src="');BC.push(Bd);BC.push("/engine/images/");BC.push(Ba.image_uri);BC.push('"/></a></div>');}}}if(A6.t>0){BC.push('<div class="pr-review-most-helpful-bottom"><p>(<span>');BC.push("{0} of {1}".replace("{0}",A6.v).replace("{1}",A6.t));BC.push("</span> ");BC.push("customers found this review helpful");BC.push(")</p></div>");}if(!Be){BC.push('<div class="pr-review-tools"><p class="pr-review-helpful-text">');BC.push("Was this review helpful?");BC.push('&nbsp;<a class="pr-review-helpful-text-link" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');BC.push(A6.id);BC.push("', 'helpful', '");BC.push(BI);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push("')); return false;\">");BC.push("Yes");BC.push('</a>&nbsp;/&nbsp;<a class="pr-review-helpful-text-link" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');BC.push(A6.id);BC.push("', 'unhelpful', '");BC.push(BI);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push("')); return false;\">");BC.push("No");BC.push('</a></span></p><p class="pr-review-report-issue"><span class="pr-review-report-issue-hyphen">&nbsp;-&nbsp;</span>');BC.push("You may also");BC.push(' <a href="#" class="pr-review-helpful-text-link" onclick="POWERREVIEWS.display.launchErrorDiv(\'');BC.push(A6.id);BC.push("', '");BC.push(BI);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push("')); return false;\">");BC.push("flag this review");BC.push('</a></p><div class="pr-error" id="error_div');BC.push(A6.id);BC.push('" style=""><div class="pr-report-issue-header">');BC.push("Please let us know what kind of issue this is:");BC.push('</div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="profanity_');BC.push(A6.id);BC.push('" value="profane"><label for="profanity_');BC.push(A6.id);BC.push('">');BC.push("Profanity");BC.push('</label></div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="wrong_product_');BC.push(A6.id);BC.push('" value="wrong_product"><label for="wrong_product_');BC.push(A6.id);BC.push('">');BC.push("Wrong product");BC.push('</label></div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="spam_');BC.push(A6.id);BC.push('" value="spam"><label for="spam_');BC.push(A6.id);BC.push('">');BC.push("Spam");BC.push('</label></div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="duplicate_');BC.push(A6.id);BC.push('" value="duplicate"><label for="duplicate_');BC.push(A6.id);BC.push('">');BC.push("Duplicate");BC.push('</label></div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="copyright_violation_');BC.push(A6.id);BC.push('" value="copyright_violation"><label for="copyright_violation_');BC.push(A6.id);BC.push('">');BC.push("Copyright violation");BC.push('</label></div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="not_review_');BC.push(A6.id);BC.push('" value="not_review"><label for="not_review_');BC.push(A6.id);BC.push('">');BC.push("Not a product review");BC.push('</label></div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="customer_image_');BC.push(A6.id);BC.push('" value="customer_image"><label for="customer_image_');BC.push(A6.id);BC.push('">');BC.push("Customer image");BC.push('</label></div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="problem_with_image_');BC.push(A6.id);BC.push('" value="problem_with_image"><label for="problem_with_image_');BC.push(A6.id);BC.push('">');BC.push("Problem with image");BC.push('</label></div><div><input type="radio" name="error_radio');BC.push(A6.id);BC.push('" id="other_');BC.push(A6.id);BC.push('" value="other"><label for="other_');BC.push(A6.id);BC.push('">');BC.push("Other");BC.push('</label></div><div><label for="error_contact_email');BC.push(A6.id);BC.push('">');BC.push("Email Address:");BC.push('</label><input class="pr-error-email" type="text" id="error_contact_email');BC.push(A6.id);BC.push('" cols="20" maxlength="80"></div><div class="pr-issue-subtext">');BC.push('</div><div><label for="error_comments');BC.push(A6.id);BC.push('">');BC.push("Comments:");BC.push('</label><textarea class="pr-error-comments" id="error_comments');BC.push(A6.id);BC.push('" cols="30" rows="3"></textarea></div><button class="pr-submit-button" onclick="POWERREVIEWS.display.submitError(\'');BC.push(A6.id);BC.push("', '");BC.push(BI);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push("')); return false;\"><span>");BC.push("Submit");BC.push('</span></button></div><p class="pr-review-helpful-response" id="review_feedback');BC.push(A6.id);BC.push('"></p></div>');}BC.push('</div></div><div class="pr-clear"></div></div>');}if(!Be){BC.push('<div class="pr-pagination-bottom"><p class="pr-page-count">');if(BF==A3){BC.push("Displaying review");BC.push(" <strong>");BC.push((BF+1));BC.push("</strong>");}else{BC.push("Displaying reviews");BC.push(" <strong>");BC.push((BF+1)+"-"+(A3+1));BC.push("</strong>");}BC.push('</p><p class="pr-nav-back-to-top"><a href="');BC.push(Bn);BC.push('">');BC.push("Back to top");BC.push("</a></p>");if(BN>A2){BC.push('<p class="pr-page-nav"><span class="pr-page-prev">');if(BF>0){BC.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BC.push(A5-1);BC.push(", '");BC.push(Bm);BC.push("', '");BC.push(BI);BC.push("', '");BC.push(BS);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push("')); location.hash = '#pr-header-");BC.push(Bm);BC.push('\'; return false;" href="');BC.push(BR.replace("~~~REVIEW_PAGE~~~",A5-1));BC.push('">&laquo; ');BC.push("Previous");BC.push("</a>");}else{BC.push("Previous");}BC.push('</span><span class="pr-divider"> | </span><span class="pr-page-next">');if(A3<BN-1){BC.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BC.push(A5+1);BC.push(", '");BC.push(Bm);BC.push("', '");BC.push(BI);BC.push("', '");BC.push(BS);BC.push("', POWERREVIEWS.common.getOptions('");BC.push(BS);BC.push("')); location.hash = '#pr-header-");BC.push(Bm);BC.push('\'; return false;" href="');BC.push(Az.replace("~~~REVIEW_PAGE~~~",A5+1));BC.push('">');BC.push("Next");BC.push(" &raquo;</a>");}else{BC.push("Next");}BC.push("</span></p>");}BC.push('<div class="pr-clear"></div></div><div class="pr-snapshot-addreviews-wrapper-bot"><a class="pr-btn-slide" href="');BC.push("http://www.powerreviewsexpress.com/expressminisite/powerreviews_express.jsp?referrer={0}".replace("{0}",""+12892));BC.push('"><span><p>');BC.push("Add Reviews to your site");BC.push('</p></span></a></div><div class="pr-clear"></div>');}BC.push("</div>");return BC.join("");}At.display.processReviewsTemplate=a;var Ag=0;function P(A0,A2){if(Aw(A0,A2)){var A1=AX(Ae("pr_page_id",A2));var Az=Ae("pr_locale",A2);var A4="pr-snippet-"+A1;var i=false;if(document.getElementById(A4)){AB(A1,Az,A4,A2);}else{var A3="pr-snippet-"+A1+"-"+(Ag++);A0.write('<div id="'+A3+'" class="pr-snippet"></div>');AB(A1,Az,A3,i,A2);}}}At.display.snippet=P;function AB(A0,Az,A2,i,A1){h(A0,Az,function(A6){var A3=Ae("pr_snippet_min_reviews",A1);var A5=0;var A4=0;if(A6&&A6.reviews){A5=A6.reviews.review_count;A4=A6.reviews.avg;}if(A3<=A5){AQ(A2,An(A0,A5,A4,Az,i,A1));}},A1);}function An(A0,A3,A6,A7,A8,BD){var BE=[];var Az=AY(Ae("pr_page_id",BD),BD);var A5=Ae("pr_read_review",BD);var BC=Av(A6);var A2=Math.round(BC);var A9="";var BB="";var i=Ae("pr_snippet_star_click",BD);if(i){A9=" cursor:pointer;";BB=' onclick="'+i+'"';}var A4=["Got it? Rate it.","Not good","Needs that special something","Average, ordinary","That's good stuff","Perfect. It doesn't get any better"];var A1=Ae("pr_facebook_like_button_url",BD);if(A1==null){A1=document.URL;}A1=m(A1);if(A1==""){A8=false;}var BA=window.location.protocol;BE.push('<div class="pr-snippet-wrapper"><div class="pr-snippet-stars"><div title="');BE.push(A4[A2]);BE.push('" style="background-position: 0px ');BE.push(BC*-36);BE.push("px;");BE.push(A9);BE.push('" class="pr-stars pr-stars-small"');BE.push(BB);BE.push('>&nbsp;</div><span class="pr-snippet-rating-decimal pr-rounded">');BE.push((A6*10)%10==0?A6+".0":A6);BE.push("</span></div>");if(A3==0){BE.push('<p class="pr-snippet-review-count">');BE.push("(No reviews)");BE.push("</p>");}else{if(A3==1){BE.push('<p class="pr-snippet-review-count">');BE.push("(1 review)");BE.push("</p>");}else{BE.push('<p class="pr-snippet-review-count">');BE.push("({0} reviews)".replace("{0}",A3));BE.push("</p>");}}BE.push('<div class="pr-snippet-read-write">');if(A3>0){if(A5){if(A3==1){BE.push('<div class="pr-snippet-read-reviews"><a href="');BE.push(A5);BE.push('" class="pr-snippet-link" id="pr-snippet-read-link-');BE.push(A0);BE.push('">');BE.push("Read <span>1</span> Review");BE.push("</a></div>");}else{BE.push('<div class="pr-snippet-read-reviews"><a href="');BE.push(A5);BE.push('" class="pr-snippet-link" id="pr-snippet-read-link-');BE.push(A0);BE.push('">');BE.push("Read <span>{0}</span> Reviews".replace("{0}",A3));BE.push("</a></div>");}}if(Az){BE.push('<div class="pr-snippet-write-review"><a href="');BE.push(Az);BE.push('" class="pr-snippet-link">');BE.push("Write a Review");BE.push("</a></div>");}}else{if(Az){BE.push('<div class="pr-snippet-write-first-review"><p>');BE.push("Be the first to");BE.push('</p> <a href="');BE.push(Az);BE.push('" class="pr-snippet-link">');BE.push("Write a Review");BE.push("</a></div>");}}BE.push('<div class="pr-clear"></div></div><div class="pr-clear"></div>');if(A8){BE.push('<div class="pr-facebook-like-snippet"><iframe src="');BE.push(BA);BE.push("//www.facebook.com/plugins/like.php?href=");BE.push(A1);BE.push('&layout=button_count&show_faces=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe></div>');}BE.push("</div>");return BE.join("");}return At;})();var SHOPZILLAREVIEWS=POWERREVIEWS;

//Clickable.com
function cct(){this.cct_action_name;this.cct_idsite;this.conversion_value;this.user_id="";this.cct_customvar=new Array;this.cct_conversion_id;this.conversion_label;this.channel="";this.referrer_domain="";this.search_term="";this.network="";this.ctt_id;this.ctt_kw;this.ctt_entity;this.clkdttm;this.session_id="";this.cct_transactionID="";this.ctt_adid="";this.ctt_nwtype="";this.ctt_cli="^^^";this.cct_url=(location.protocol=="https:"?"https://":"http://")+"cn.clickable.net";var E=250;var C="7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip";var O=new Object;O["Paid Search"]=4;O["Website Referral"]=3;O["Organic Search"]=2;O.Direct=1;var F=new Object;F.PS="Paid Search";F.EM="Email Marketing";F.BN="Banner Ad";F.VI="Video";F.SR="Social Referral";F.OS="Organic Search";F.WR="Website Referral";F.DR="Direct";var i=new Object;i.ADWORDS="q";i.BING="q";i.GOOGLE="q";i.YAHOO="p";i.ADCENTER="q";i.LIVE="q";i.ASK="q";i.AOL="query";i.MSN="q";this.cct_plug_normal=function(a){if(W.indexOf(a)!=-1&&(navigator.mimeTypes[a].enabledPlugin!=null)){return"1"}return"0"};this.cct_plug_ie=function(a){pk_found=false;document.write('<SCRIPT LANGUAGE=VBScript>\n on error resume next \n pk_found = IsObject(CreateObject("'+a+'")) </SCRIPT>\n');if(pk_found){return"1"}return"0"};var Y="0";if(navigator.javaEnabled()){Y="1"}var L=navigator.userAgent.toLowerCase();var S=(navigator.appName.indexOf("Netscape")!=-1);var Q=(L.indexOf("msie")!=-1);var X=((L.indexOf("win")!=-1)||(L.indexOf("32bit")!=-1));var G=(navigator.cookieEnabled)?"1":"0";if((typeof(navigator.cookieEnabled)=="undefined")&&(G=="0")){document.cookie="cct_testcookie";G=(document.cookie.indexOf("cct_testcookie")!=-1)?"1":"0"}var R="0",Z="0",J="0",K="0",V="0",H="0";if(X&&Q){R=this.cct_plug_ie("SWCtl.SWCtl.1");Z=this.cct_plug_ie("ShockwaveFlash.ShockwaveFlash.1");if(this.cct_plug_ie("PDF.PdfCtrl.1")=="1"||this.cct_plug_ie("PDF.PdfCtrl.5")=="1"||this.cct_plug_ie("PDF.PdfCtrl.6")=="1"){J="1"}K=this.cct_plug_ie("Quicktime.Quicktime");V=this.cct_plug_ie("rmocx.RealPlayer G2 Control.1");H=this.cct_plug_ie("wmplayer.ocx")}else{var W="";for(var I=0;I<navigator.mimeTypes.length;I++){W+=navigator.mimeTypes[I].type.toLowerCase()}R=this.cct_plug_normal("application/x-director");Z=this.cct_plug_normal("application/x-shockwave-flash");J=this.cct_plug_normal("application/pdf");K=this.cct_plug_normal("video/quicktime");V=this.cct_plug_normal("audio/x-pn-realaudio-plugin");H=this.cct_plug_normal("application/x-mplayer2")}var N="";try{N=top.document.referrer}catch(T){if(parent){try{N=parent.document.referrer}catch(U){N=""}}}if(N==""){N=document.referrer}this.cct_escape=function(a){if(typeof(encodeURIComponent)=="function"){return encodeURIComponent(a)}else{return escape(a)}};var P="";if(document.title&&document.title!=""){P=escape(encodeURI(document.title))}var D;this.getAdId=function(){return this.GetURLParameter(location.href,"ctt_adid")};this.getNetworkType=function(b){if(b.toLowerCase()=="facebook"||b.toLowerCase()=="fox"){return"C"}var a=this.GetURLParameter(location.href,"ctt_nwtype").toLowerCase();if(b.toLowerCase()=="google"){if(a=="content"){return"C"}else{return"S"}}else{if(b.toLowerCase()=="yahoo"){if(a=="cnt"){return"C"}else{return"S"}}else{if(b.toLowerCase()=="msn"){if(a.charAt(0)=="c"){return"C"}else{return"S"}}else{return""}}}};this.removeDashFromTransId=function(a){if(a!="undefined"&&a!=""&&a!=null){while(a.indexOf("-",0)>=0){a=a.replace("-","")}return a}else{return""}};this.cct_getUrlLog=function(){this.cct_customvar_str="";if(typeof this.cct_customvar=="undefined"){this.cct_customvar=false}if(this.cct_customvar){for(var b in this.cct_customvar){if(!Array.prototype[b]){this.cct_customvar_str+="&"+this.cct_customvar[b]}}}var d=new Date();var c=document.referrer;this.referrer_domain=this.GetTopLevelDomain(this.GetDomainNameFromUrl(c));this.network=this.GetNetwork(c,this.GetURLParameter(location.href,"ctt_nw"));this.channel=this.GetChannel(location.href,this.network,this.GetTopLevelDomain(this.GetDomainNameFromUrl(location.href)),this.referrer_domain,c);this.search_term=((this.channel==F.OS||this.channel==F.PS)?this.GetSearchTerm(c,this.network):"");this.ctt_id=this.GetURLParameter(location.href,"ctt_id");this.ctt_entity=this.GetURLParameter(location.href,"ctt_entity");this.ctt_kw=this.GetURLParameter(location.href,"ctt_kw");this.ctt_nwtype=this.getNetworkType(this.network);if(this.ctt_nwtype=="C"){this.search_term=""}this.ctt_adid=this.getAdId();this.ctt_cli=this.GetURLParameter(location.href,"ctt_cli");if(this.ctt_cli==""){this.ctt_cli="^^^"}this.ctt_cli=this.ctt_cli.replace(/x/g,"^");var a=this.cct_url+"?url="+escape(encodeURI(document.location.href))+"&action_name="+encodeURI(this.cct_action_name)+"&idsite="+this.cct_idsite+"&res="+screen.width+"x"+screen.height+"&col="+screen.colorDepth+"&h="+d.getHours()+"&m="+d.getMinutes()+"&s="+d.getSeconds()+"&fla="+Z+"&dir="+R+"&qt="+K+"&realp="+V+"&pdf="+J+"&wma="+H+"&java="+Y+"&cookie="+G+"&rd="+encodeURI(this.referrer_domain)+"&ctt_nw="+this.network+"&st="+escape(encodeURI(this.search_term))+"&ctt_ch="+this.channel+"&ctt_adid="+this.ctt_adid+"&ctt_nwtype="+this.ctt_nwtype+"&title="+P+"&urlref="+escape(encodeURI(document.referrer))+"&currd="+this.GetTopLevelDomain(this.GetDomainNameFromUrl(document.location.href))+"&ctt_id="+this.GetAdUnit()+"&sid="+(this.session_id==""?this.guid():this.session_id)+"&uid="+this.user_id+"&ctt_kw="+this.ctt_kw+"&convId="+(this.conversion_label==null?this.cct_conversion_id:this.conversion_label)+"&clkdttm="+this.clkdttm+"&transID="+this.removeDashFromTransId(this.cct_transactionID)+"&cv="+this.getConversionValue(this.conversion_value)+"&ctt_entity="+this.ctt_entity+"&ctt_cli="+this.ctt_cli+this.cct_customvar_str;return a};this.GetAdUnit=function(){if(this.ctt_entity=="MK"){return this.GetURLParameter(location.href,"ctt_nwtype").substring(0,1).toUpperCase()+this.ctt_id}else{return this.ctt_id}};this.GetDomainNameFromUrl=function(a){var b=a.toLowerCase();var c=a.indexOf("://");if(c>0){c=c+3}else{c=0}b=b.substring(c);c=b.indexOf("/");if(c>0){b=b.substring(0,c)}return b};this.GetSearchTerm=function(c,b){var a="";a=this.GetURLParameter(c,i[b.toUpperCase()]);if(a==""||a==undefined){a=this.GetURLParameter(c,"q")}if(a==""||a==undefined){a=this.GetURLParameter(c,"p")}if(a==""||a==undefined){a=this.GetURLParameter(c,"query")}if(a==""||a==undefined){a=this.GetURLParameter(c,"userQuery")}if(a!=undefined){return a}else{return""}};this.GetURLParameter=function(c,d){var b=c.indexOf("&"+d+"=");if(b==-1){b=c.indexOf("?"+d+"=");if(b==-1){return""}}b=b+d.length+2;var f=c.substring(b,c.length);var a=f.indexOf("&");if(a>=0){return f.substring(0,a)}else{return f}};this.cct_log=function(d){try{if(d!=null){var a=this.decac(d).split("|");this.cct_idsite=a[0];this.cct_action_name=a[1]}if(this.cct_idsite=="98123781-c01e-4d5a-930f-d546b6ab659c"){return}if(__ckp__i.indexOf("|"+this.cct_action_name+"|")>=0){return}else{__ckp__i=__ckp__i+"|"+this.cct_action_name+"|"}if(D&&(!this.cct_action_name||this.cct_action_name=="")){return}var b=this.cct_getUrlLog();document.writeln('<img src="'+b+'" style="border:0; width: 0; height: 0" />');if(!this.cct_action_name||this.cct_action_name==""){D=1}this.cct_init_tracker()}catch(c){}};this.cct_flashlog=function(f){try{if(f!=null){var a=this.decac(f).split("|");this.cct_idsite=a[0];this.cct_action_name=a[1]}if(D&&(!this.cct_action_name||this.cct_action_name=="")){return}if(this.cct_idsite=="98123781-c01e-4d5a-930f-d546b6ab659c"){return}var b=this.cct_getUrlLog();var c=document.getElementsByTagName("body");if(c!=null){var g=document.createElement("img");g.src=b;c[0].appendChild(g)}if(!this.cct_action_name||this.cct_action_name==""){D=1}this.cct_init_tracker()}catch(d){}};this.S4=function(){return(((1+Math.random())*65536)|0).toString(16).substring(1)};this.guid=function(){return(this.S4()+this.S4()+"-"+this.S4()+"-"+this.S4()+"-"+this.S4()+"-"+this.S4()+this.S4()+this.S4())};this.cct_add_event=function(b,c,f,a){if(b.addEventListener){b.addEventListener(c,f,a);return true}else{if(b.attachEvent){var d=b.attachEvent("on"+c,f);return d}else{b["on"+c]=f}}};var M,aa;this.cct_init_tracker=function(){M=this.cct_idsite;aa=this.cct_url;if(document.getElementsByTagName){linksElements=document.getElementsByTagName("a")}};this.cct_dummy=function(){return true};this.GetNetwork=function(c,d){var b=d.toLowerCase();if(b!=""&&b!=undefined){return b}else{var f=this.GetURLParameter(location.href,"ctt_adnw");if(f!=""&&f!=undefined){return f}var a=c.toLowerCase();if(a.indexOf(".google.")>-1){return"Google"}else{if(a.indexOf(".yahoo.")>-1){return"Yahoo"}else{if(a.indexOf(".msn.")>-1){return"MSN"}else{if(a.indexOf(".aol.")>-1){return"AOL"}else{if(a.indexOf(".ask.")>-1){return"Ask"}else{if(a.indexOf(".live.")>-1){return"Live"}else{if(a.indexOf(".bing.")>-1){return"Bing"}else{if(a.indexOf(".facebook.")>-1){return"Facebook"}else{if(a.indexOf(".foxaudiencenetwork.")>-1){return"Fox"}else{return""}}}}}}}}}}};this.cct_pause=function(c){var a=new Date();var b=a.getTime()+c;while(a.getTime()<b){a=new Date()}};this.cct_track=function(){var a=new Image();var b=this.cct_getUrlLog();a.onLoad=function(){this.cct_dummy()};a.src=b;this.cct_pause(E)};this.cct_click=function(c){var f;if(typeof c=="undefined"){var c=window.event}if(typeof c.target!="undefined"){f=c.target}else{if(typeof c.srcElement!="undefined"){f=c.srcElement}else{return true}}var d=new String(f.getAttribute("href"));var b=new RegExp("\\.("+C+")$","i");var a=(b.test(d)?"download":"link");if(d!="null"&&f.hostname!=undefined&&(f.hostname!=window.location.hostname||a=="download")){cct.cct_track()}return true};this.GetChannel=function(d,f,a,c,h){var b=this.GetURLParameter(d,"ctt_ch").toUpperCase();var g=F[b];if(g!=undefined){return g}if(b==""||b==undefined){var j=i[f.toUpperCase()];if(j!=undefined){query_str=this.GetURLParameter(h,j);if(query_str!=""&&query_str!=undefined){return F.OS}else{return F.WR}}else{if(c==""){return F.DR}else{if((this.GetTopLevelDomain(a)==this.GetTopLevelDomain(c))&&f==""){return F.DR}else{if((this.GetTopLevelDomain(a)!=this.GetTopLevelDomain(c))&&f==""){return F.WR}else{return F.DR}}}}}};this.GetTopLevelDomain=function(a){var b=a.split(".");var c=b.length;if(c<=2){return a}else{if(b[0].toLowerCase().indexOf("www")>=0){if(c==3){return b[1]+"."+b[2]}else{if(b[c-2].length<=3){return b[c-3]+"."+b[c-2]+"."+b[c-1]}else{return b[c-2]+"."+b[c-1]}}}else{if(b[c-2].length<=3){return b[c-3]+"."+b[c-2]+"."+b[c-1]}else{return b[c-2]+"."+b[c-1]}}}};this.getConversionValue=function(c){if(c==null||c==undefined){return"0"}c=c+"";var a=c.replace(/,/g,"");var b=a.match(/\d*[.]\d*/g);if(b==null){b=a.match(/\d+/g)}if(b==null){return"0"}if(b.length!=1||b.length==0){return"0"}else{return b[0]}};this.sc=function(a){return""};this.CookieCheck=function(a){return""};this.d2h=function(b){var a=b.toString(16);return(a.length==1?"0"+a:a)};this.h2d=function(a){return parseInt(a,16)};this.decac=function(b){if(b.length<7){return"|"}var a=this.h2d(b.substring(0,2));var f=this.h2d(b.substring(2,4));var c="";var g="";for(var d=5;d<b.length;d=d+2){c=c+b.substring(d,d+1);if(g.length<a){g=g+String.fromCharCode(b.charCodeAt(d+1))}else{c=c+String.fromCharCode(b.charCodeAt(d+1))}}c=c.substring(0,f);g=g.substring(0,a);c=c.substring(0,8)+"-"+c.substring(8,12)+"-"+c.substring(12,16)+"-"+c.substring(16,20)+"-"+c.substring(20);return c+"|"+g}}var cct=new cct();try{if(__ckp__i==undefined){var __ckp__ii=0}}catch(e){__ckp__i=""}; 
