/*
* Compressed with KOCompressor
* Developed by Ci&T Software S.A.
* www.ciandt.com
* date: Wed Oct 19 11:52:36 GMT-0200 2011
*/

(function(c){var b=function(g,h){var f=c(g);setTimeout(function(){e(f,h)},100);f.bind({focus:function(){a(f,h)},focusout:function(){d(f,h)}})};function a(f,g){f.parent("div").find("label").animate({marginLeft:100,opacity:0},150)}function d(g,h){var f=g.parent("div").find("label");setTimeout(function(){if(g.val().length==0||g.val()=="() -"){f.animate({marginLeft:h.posLeft,opacity:1},250).css("display","block")}},100)}function e(g,h){var f=g.parent("div").find("label");if(g.val().length==0){f.show("slow")}}c.fn.cc_lblForm=function(f){var g=c.extend({},c.fn.cc_lblForm.defaults,f);return this.each(function(){new b(c(this),g)})};c.fn.cc_lblForm.defaults={posLeft:0}})(jQuery);/* Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
 * Licensed under the MIT License (LICENSE.txt).
 *
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 * Thanks to: Seamus Leahy for adding deltaX and deltaY
 *
 * Version: 3.0.4
 * 
 * Requires: 1.2.2+
 */
(function(c){var a=["DOMMouseScroll","mousewheel"];c.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var d=a.length;d;){this.addEventListener(a[--d],b,false)}}else{this.onmousewheel=b}},teardown:function(){if(this.removeEventListener){for(var d=a.length;d;){this.removeEventListener(a[--d],b,false)}}else{this.onmousewheel=null}}};c.fn.extend({mousewheel:function(d){return d?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}});function b(i){var g=i||window.event,f=[].slice.call(arguments,1),j=0,h=true,e=0,d=0;i=c.event.fix(g);i.type="mousewheel";if(i.wheelDelta){j=i.wheelDelta/120}if(i.detail){j=-i.detail/3}d=j;if(g.axis!==undefined&&g.axis===g.HORIZONTAL_AXIS){d=0;e=-1*j}if(g.wheelDeltaY!==undefined){d=g.wheelDeltaY/120}if(g.wheelDeltaX!==undefined){e=-1*g.wheelDeltaX/120}f.unshift(i,j,e,d);return c.event.handle.apply(this,f)}})(jQuery);(function(d,e,f){d.fn.jScrollPane=function(a){function c(bq,bb){var bp,a9=this,a1,bE,aI,bC,a6,a0,aF,aM,bn,bP,bw,aU,bg,aV,aT,aZ,a5,bA,a2,aK,bt,bz,bJ,bB,bk,aR,bx,br,aG,bv,bM,aW,bQ,bF=true,ba=true,bN=false,aS=false,aX=d.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";bM=bq.css("paddingTop")+" "+bq.css("paddingRight")+" "+bq.css("paddingBottom")+" "+bq.css("paddingLeft");aW=(parseInt(bq.css("paddingLeft"))||0)+(parseInt(bq.css("paddingRight"))||0);by(bb);function by(g){var j,k,l,h,i,m;bp=g;if(a1==f){bq.css({overflow:"hidden",padding:0});bE=bq.innerWidth()+aW;aI=bq.innerHeight();bq.width(bE);a1=d('<div class="jspPane" />').wrap(d('<div class="jspContainer" />').css({width:bE+"px",height:aI+"px"}));bq.wrapInner(a1.parent());bC=bq.find(">.jspContainer");a1=bC.find(">.jspPane");a1.css("padding",bM)}else{bq.css("width",null);m=bq.outerWidth()+aW!=bE||bq.outerHeight()!=aI;if(m){bE=bq.innerWidth()+aW;aI=bq.innerHeight();bC.css({width:bE+"px",height:aI+"px"})}bQ=a1.innerWidth();if(!m&&a1.outerWidth()==a6&&a1.outerHeight()==a0){if(bP||bn){a1.css("width",bQ+"px");bq.css("width",(bQ+aW)+"px")}return}a1.css("width",null);bq.css("width",(bE)+"px");bC.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}j=a1.clone().css("position","absolute");k=d('<div style="width:1px; position: relative;" />').append(j);d("body").append(k);a6=Math.max(a1.outerWidth(),j.outerWidth());k.remove();a0=a1.outerHeight();aF=a6/bE;aM=a0/aI;bn=aM>1;bP=aF>1;if(!(bP||bn)){bq.removeClass("jspScrollable");a1.css({top:0,width:bC.width()-aW});aP();bo();a8();aH();bG()}else{bq.addClass("jspScrollable");l=bp.maintainPosition&&(bg||aZ);if(l){h=bh();i=bl()}bO();s();bm();if(l){bc(h);bd(i)}be();bI();if(bp.enableKeyboardNavigation){a7()}if(bp.clickOnTrack){aN()}bs();if(bp.hijackInternalLinks){aQ()}}if(bp.autoReinitialise&&!bv){bv=setInterval(function(){by(bp)},bp.autoReinitialiseDelay)}else{if(!bp.autoReinitialise&&bv){clearInterval(bv)}}bq.trigger("jsp-initialised",[bP||bn])}function bO(){if(bn){bC.append(d('<div class="jspVerticalBar" />').append(d('<div class="jspCap jspCapTop" />'),d('<div class="jspTrack" />').append(d('<div class="jspDrag" />').append(d('<div class="jspDragTop" />'),d('<div class="jspDragBottom" />'))),d('<div class="jspCap jspCapBottom" />')));a5=bC.find(">.jspVerticalBar");bA=a5.find(">.jspTrack");bw=bA.find(">.jspDrag");if(bp.showArrows){bz=d('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",bf(0,-1)).bind("click.jsp",bj);bJ=d('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",bf(0,1)).bind("click.jsp",bj);if(bp.arrowScrollOnHover){bz.bind("mouseover.jsp",bf(0,-1,bz));bJ.bind("mouseover.jsp",bf(0,1,bJ))}bD(bA,bp.verticalArrowPositions,bz,bJ)}aK=aI;bC.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){aK-=d(this).outerHeight()});bw.hover(function(){bw.addClass("jspHover")},function(){bw.removeClass("jspHover")}).bind("mousedown.jsp",function(g){d("html").bind("dragstart.jsp selectstart.jsp",function(){return false});bw.addClass("jspActive");var h=g.pageY-bw.position().top;d("html").bind("mousemove.jsp",function(i){a4(i.pageY-h,false)}).bind("mouseup.jsp mouseleave.jsp",bu);return false});aO()}}function aO(){bA.height(aK+"px");bg=0;a2=bp.verticalGutter+bA.outerWidth();a1.width(bE-a2-aW);if(a5.position().left==0){a1.css("margin-left",a2+"px")}}function s(){if(bP){bC.append(d('<div class="jspHorizontalBar" />').append(d('<div class="jspCap jspCapLeft" />'),d('<div class="jspTrack" />').append(d('<div class="jspDrag" />').append(d('<div class="jspDragLeft" />'),d('<div class="jspDragRight" />'))),d('<div class="jspCap jspCapRight" />')));bB=bC.find(">.jspHorizontalBar");bk=bB.find(">.jspTrack");aV=bk.find(">.jspDrag");if(bp.showArrows){br=d('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",bf(-1,0)).bind("click.jsp",bj);aG=d('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",bf(1,0)).bind("click.jsp",bj);if(bp.arrowScrollOnHover){br.bind("mouseover.jsp",bf(-1,0,br));aG.bind("mouseover.jsp",bf(1,0,aG))}bD(bk,bp.horizontalArrowPositions,br,aG)}aV.hover(function(){aV.addClass("jspHover")},function(){aV.removeClass("jspHover")}).bind("mousedown.jsp",function(g){d("html").bind("dragstart.jsp selectstart.jsp",function(){return false});aV.addClass("jspActive");var h=g.pageX-aV.position().left;d("html").bind("mousemove.jsp",function(i){a3(i.pageX-h,false)}).bind("mouseup.jsp mouseleave.jsp",bu);return false});aR=bC.innerWidth();bH()}else{}}function bH(){bC.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){aR-=d(this).outerWidth()});bk.width(aR+"px");aZ=0}function bm(){if(bP&&bn){var g=bk.outerHeight(),h=bA.outerWidth();aK-=g;d(bB).find(">.jspCap:visible,>.jspArrow").each(function(){aR+=d(this).outerWidth()});aR-=h;aI-=h;bE-=g;bk.parent().append(d('<div class="jspCorner" />').css("width",g+"px"));aO();bH()}if(bP){a1.width((bC.outerWidth()-aW)+"px")}a0=a1.outerHeight();aM=a0/aI;if(bP){bx=1/aF*aR;if(bx>bp.horizontalDragMaxWidth){bx=bp.horizontalDragMaxWidth}else{if(bx<bp.horizontalDragMinWidth){bx=bp.horizontalDragMinWidth}}aV.width(bx+"px");aT=aR-bx;bK(aZ)}if(bn){bt=1/aM*aK;if(bt>bp.verticalDragMaxHeight){bt=bp.verticalDragMaxHeight}else{if(bt<bp.verticalDragMinHeight){bt=bp.verticalDragMinHeight}}bw.height(bt+"px");aU=aK-bt;bL(bg)}}function bD(h,m,i,j){var k="before",g="after",l;if(m=="os"){m=/Mac/.test(navigator.platform)?"after":"split"}if(m==k){g=m}else{if(m==g){k=m;l=i;i=j;j=l}}h[k](i)[g](j)}function bf(h,i,g){return function(){bi(h,i,this,g);this.blur();return false}}function bi(g,i,k,l){k=d(k).addClass("jspActive");var m,j=function(){if(g!=0){a3(aZ+g*bp.arrowButtonSpeed,false)}if(i!=0){a4(bg+i*bp.arrowButtonSpeed,false)}},h=setInterval(j,bp.arrowRepeatFreq);j();m=l==f?"mouseup.jsp":"mouseout.jsp";l=l||d("html");l.bind(m,function(){k.removeClass("jspActive");clearInterval(h);l.unbind(m)})}function aN(){aH();if(bn){bA.bind("mousedown.jsp",function(g){if(g.originalTarget==f||g.originalTarget==g.currentTarget){var h=d(this),j=setInterval(function(){var l=h.offset(),k=g.pageY-l.top;if(bg+bt<k){a4(bg+bp.trackClickSpeed)}else{if(k<bg){a4(bg-bp.trackClickSpeed)}else{i()}}},bp.trackClickRepeatFreq),i=function(){j&&clearInterval(j);j=null;d(document).unbind("mouseup.jsp",i)};d(document).bind("mouseup.jsp",i);return false}})}if(bP){bk.bind("mousedown.jsp",function(g){if(g.originalTarget==f||g.originalTarget==g.currentTarget){var h=d(this),j=setInterval(function(){var l=h.offset(),k=g.pageX-l.left;if(aZ+bx<k){a3(aZ+bp.trackClickSpeed)}else{if(k<aZ){a3(aZ-bp.trackClickSpeed)}else{i()}}},bp.trackClickRepeatFreq),i=function(){j&&clearInterval(j);j=null;d(document).unbind("mouseup.jsp",i)};d(document).bind("mouseup.jsp",i);return false}})}}function aH(){bk&&bk.unbind("mousedown.jsp");bA&&bA.unbind("mousedown.jsp")}function bu(){d("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp");bw&&bw.removeClass("jspActive");aV&&aV.removeClass("jspActive")}function a4(h,g){if(!bn){return}if(h<0){h=0}else{if(h>aU){h=aU}}if(g==f){g=bp.animateScroll}if(g){a9.animate(bw,"top",h,bL)}else{bw.css("top",h);bL(h)}}function bL(i){if(i==f){i=bw.position().top}bC.scrollTop(0);bg=i;var k=bg==0,h=bg==aU,g=i/aU,j=-g*(a0-aI);if(bF!=k||bN!=h){bF=k;bN=h;bq.trigger("jsp-arrow-change",[bF,bN,ba,aS])}aJ(k,h);a1.css("top",j);bq.trigger("jsp-scroll-y",[-j,k,h])}function a3(g,h){if(!bP){return}if(g<0){g=0}else{if(g>aT){g=aT}}if(h==f){h=bp.animateScroll}if(h){a9.animate(aV,"left",g,bK)}else{aV.css("left",g);bK(g)}}function bK(i){if(i==f){i=aV.position().left}bC.scrollTop(0);aZ=i;var k=aZ==0,g=aZ==aT,h=i/aT,j=-h*(a6-bE);if(ba!=k||aS!=g){ba=k;aS=g;bq.trigger("jsp-arrow-change",[bF,bN,ba,aS])}aL(k,g);a1.css("left",j);bq.trigger("jsp-scroll-x",[-j,k,g])}function aJ(g,h){if(bp.showArrows){bz[g?"addClass":"removeClass"]("jspDisabled");bJ[h?"addClass":"removeClass"]("jspDisabled")}}function aL(g,h){if(bp.showArrows){br[g?"addClass":"removeClass"]("jspDisabled");aG[h?"addClass":"removeClass"]("jspDisabled")}}function bd(i,h){var g=i/(a0-aI);a4(g*aU,h)}function bc(h,i){var g=h/(a6-bE);a3(g*aT,i)}function aY(l,n,k){var g,i,p=0,j,o,m;try{g=d(l)}catch(h){return}i=g.outerHeight();bC.scrollTop(0);while(!g.is(".jspPane")){p+=g.position().top;g=g.offsetParent();if(/^body|html$/i.test(g[0].nodeName)){return}}j=bl();o=j+aI;if(p<j||n){m=p-bp.verticalGutter}else{if(p+i>o){m=p-aI+i+bp.verticalGutter}}if(m){bd(m,k)}}function bh(){return -a1.position().left}function bl(){return -a1.position().top}function bI(){bC.unbind(aX).bind(aX,function(l,k,g,i){var h=aZ,j=bg;a3(aZ+g*bp.mouseWheelSpeed,false);a4(bg-i*bp.mouseWheelSpeed,false);return h==aZ&&j==bg})}function aP(){bC.unbind(aX)}function bj(){return false}function be(){a1.unbind("focusin.jsp").bind("focusin.jsp",function(g){if(g.target===a1[0]){return}aY(g.target,false)})}function bo(){a1.unbind("focusin.jsp")}function a7(){var g,h;bq.attr("tabindex",0).unbind("keydown.jsp").bind("keydown.jsp",function(k){if(k.target!==bq[0]){return}var i=aZ,j=bg,l=g?2:16;switch(k.keyCode){case 40:a4(bg+l,false);break;case 38:a4(bg-l,false);break;case 34:case 32:bd(bl()+Math.max(32,aI)-16);break;case 33:bd(bl()-aI+16);break;case 35:bd(a0-aI);break;case 36:bd(0);break;case 39:a3(aZ+l,false);break;case 37:a3(aZ-l,false);break}if(!(i==aZ&&j==bg)){g=true;clearTimeout(h);h=setTimeout(function(){g=false},260);return false}});if(bp.hideFocus){bq.css("outline","none");if("hideFocus" in bC[0]){bq.attr("hideFocus",true)}}else{bq.css("outline","");if("hideFocus" in bC[0]){bq.attr("hideFocus",false)}}}function a8(){bq.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp")}function bs(){if(location.hash&&location.hash.length>1){var g,h;try{g=d(location.hash)}catch(i){return}if(g.length&&a1.find(g)){if(bC.scrollTop()==0){h=setInterval(function(){if(bC.scrollTop()>0){aY(location.hash,true);d(document).scrollTop(bC.position().top);clearInterval(h)}},50)}else{aY(location.hash,true);d(document).scrollTop(bC.position().top)}}}}function bG(){d("a.jspHijack").unbind("click.jsp-hijack").removeClass("jspHijack")}function aQ(){bG();d("a[href^=#]").addClass("jspHijack").bind("click.jsp-hijack",function(){var h=this.href.split("#"),g;if(h.length>1){g=h[1];if(g.length>0&&a1.find("#"+g).length>0){aY("#"+g,true);return false}}})}d.extend(a9,{reinitialise:function(g){g=d.extend({},g,bp);by(g)},scrollToElement:function(g,h,i){aY(g,h,i)},scrollTo:function(g,i,h){bc(g,h);bd(i,h)},scrollToX:function(g,h){bc(g,h)},scrollToY:function(h,g){bd(h,g)},scrollBy:function(h,i,g){a9.scrollByX(h,g);a9.scrollByY(i,g)},scrollByX:function(j,h){var i=bh()+j,g=i/(a6-bE);a3(g*aT,h)},scrollByY:function(j,h){var i=bl()+j,g=i/(a0-aI);a4(g*aU,h)},animate:function(i,k,j,g){var h={};h[k]=j;i.animate(h,{duration:bp.animateDuration,ease:bp.animateEase,queue:false,step:g})},getContentPositionX:function(){return bh()},getContentPositionY:function(){return bl()},getIsScrollableH:function(){return bP},getIsScrollableV:function(){return bn},getContentPane:function(){return a1},scrollToBottom:function(g){a4(aU,g)},hijackInternalLinks:function(){aQ()}})}a=d.extend({},d.fn.jScrollPane.defaults,a);var b;this.each(function(){var j=d(this),i=j.data("jsp");if(i){i.reinitialise(a)}else{i=new c(j,a);j.data("jsp",i)}b=b?b.add(j):j});return b};d.fn.jScrollPane.defaults={showArrows:false,maintainPosition:true,clickOnTrack:true,autoReinitialise:false,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,animateScroll:false,animateDuration:300,animateEase:"linear",hijackInternalLinks:false,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:10,arrowButtonSpeed:10,arrowRepeatFreq:100,arrowScrollOnHover:false,trackClickSpeed:30,trackClickRepeatFreq:100,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:true,hideFocus:false}})(jQuery,this);(function(b){var c=function(d,e){var g=b(d);var f=g.attr("type");b(window).load(function(){switch(f){case"radio":g.wrap('<div class="cc_stForm radio" />');g.parent("div").prepend('<span class="radio" />');var h=g.parent("div").find(".radio");if(g.attr("checked")){h.addClass("selected")}h.click(function(){var i=h.parent("div").find("input").attr("name");b("input[name='"+i+"']").parent("div").find(".radio").removeClass("selected");g.parent("div").find(":input").trigger("click");if(g.attr("checked")){h.addClass("selected")}else{h.removeClass("selected")}});break;case"checkbox":g.wrap('<div class="cc_stForm check" />');g.parent("div").prepend('<span class="check" />');var h=g.parent("div").find(".check");if(g.attr("checked")){h.addClass("selected")}h.click(function(){g.parent("div").find(":input").trigger("click");if(g.attr("checked")){h.addClass("selected")}else{h.removeClass("selected")}});break}})};b.fn.cc_style_form=function(d){var e=b.extend({},b.fn.cc_style_form.defaults,d);return this.each(function(){new c(b(this),e)})};b.fn.cc_style_form.defaults={};function a(d){if(window.console&&window.console.log){window.console.log(d)}}})(jQuery);var InfoSite={_hashTag:"",_pagTxtInfo:"",_titleTxtInfo:"",_class:"",init:function(){InfoSite.setHashTag(document.location.hash);InfoSite.analyseHashTag()},setHashTag:function(a){InfoSite._hashTag=a},getHashTag:function(){return(InfoSite._hashTag.substring(1)||"")},analyseHashTag:function(){var a=InfoSite.getHashTag();switch(a){case"rules":InfoSite._titleTxtInfo="Regulamento";break;case"policy":InfoSite._titleTxtInfo="Pol&iacute;tica de Privacidade";break;default:InfoSite._titleTxtInfo="Termos de Uso"}InfoSite._pagHtmlUrl="txt_"+a+".html";InfoSite._class=a;InfoSite.showInfo(".info")},showInfo:function(a){if(!$(a).length){return}if(!InfoSite._pagHtmlUrl){return}$(a).find("h1").html(InfoSite._titleTxtInfo);$.ajax({url:InfoSite._pagHtmlUrl,cache:true,success:function(b){$(a).find("#text").html(b).jScrollPane({showArrows:false,autoReinitialise:false,verticalDragMinHeight:215})}})}};$(function(a){if(a(".info").length){InfoSite.init();a("#modalTermos").click(function(b){b.preventDefault();window.location.hash="terms";window.location.reload()});a("#modalPolitica").click(function(b){b.preventDefault();window.location.hash="policy";window.location.reload()})}});var Global={httpBaseUrl:"",httpsBaseUrl:"",httpFanPage:"",httpFbApp:"",httpsFbApp:"",httpFanPageTermo:"",httpFanPageCitrus:"",httpFanPageClubSoda:"",httpFanPageTonica:"",_IS_DEBUG:false,_hashTag:"",readGetProperty:function(a){$.ajax({url:"/getProperty.do",dataType:"json",async:false,success:function(b){$.each(b.content,function(d,f){var c=f.name;var e=f.value;switch(c){case"http.baseurl":Global.httpBaseUrl=e;break;case"https.baseurl":Global.httpsBaseUrl=e;break;case"http.url.fanpage":Global.httpFanPage=e;break;case"http.url.app.facebook":Global.httpFbApp=e;break;case"facebook.appId":Global.fbAppId=e;break;case"facebook.url.fanpage.clubsoda":Global.httpFanPageClubSoda=e;break;case"facebook.url.fanpage.citrus":Global.httpFanPageCitrus=e;break;case"facebook.url.fanpage.termo":Global.httpFanPageTermo=e;break;case"facebook.url.fanpage.tonica":Global.httpFanPageTonica=e;break;default:Global.httpsFbApp=e}});if(a!==null){a()}}})}};$.trace=function(){if(!Global._IS_DEBUG){return}if(typeof(console)!=="undefined"&&console!=null){console.log(arguments)}};(function(c){var a=(c.browser.msie?"paste":"input")+".mask";var b=(window.orientation!=undefined);c.mask={definitions:{"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},dataName:"rawMaskFn"};c.fn.extend({caret:function(f,d){if(this.length==0){return}if(typeof f=="number"){d=(typeof d=="number")?d:f;return this.each(function(){if(this.setSelectionRange){this.setSelectionRange(f,d)}else{if(this.createTextRange){var g=this.createTextRange();g.collapse(true);g.moveEnd("character",d);g.moveStart("character",f);g.select()}}})}else{if(this[0].setSelectionRange){f=this[0].selectionStart;d=this[0].selectionEnd}else{if(document.selection&&document.selection.createRange){var e=document.selection.createRange();f=0-e.duplicate().moveStart("character",-100000);d=f+e.text.length}}return{begin:f,end:d}}},unmask:function(){return this.trigger("unmask")},mask:function(f,j){if(!f&&this.length>0){var g=c(this[0]);return g.data(c.mask.dataName)()}j=c.extend({placeholder:"_",completed:null},j);var e=c.mask.definitions;var i=[];var k=f.length;var h=null;var d=f.length;c.each(f.split(""),function(l,m){if(m=="?"){d--;k=l}else{if(e[m]){i.push(new RegExp(e[m]));if(h==null){h=i.length-1}}else{i.push(null)}}});return this.trigger("unmask").each(function(){var u=c(this);var p=c.map(f.split(""),function(y,x){if(y!="?"){return e[y]?j.placeholder:y}});var w=u.val();function t(x){while(++x<=d&&!i[x]){}return x}function q(x){while(--x>=0&&!i[x]){}return x}function o(A,x){if(A<0){return}for(var z=A,y=t(x);z<d;z++){if(i[z]){if(y<d&&i[z].test(p[y])){p[z]=p[y];p[y]=j.placeholder}else{break}y=t(y)}}s();u.caret(Math.max(h,A))}function l(B){for(var z=B,A=j.placeholder;z<d;z++){if(i[z]){var x=t(z);var y=p[z];p[z]=A;if(x<d&&i[x].test(y)){A=y}else{break}}}}function r(A){var y=A.which;if(y==8||y==46||(b&&y==127)){var B=u.caret(),z=B.begin,x=B.end;if(x-z==0){z=y!=46?q(z):(x=t(z-1));x=y==46?t(x):x}m(z,x);o(z,x-1);return false}else{if(y==27){u.val(w);u.caret(0,n());return false}}}function v(A){var x=A.which,C=u.caret();if(A.ctrlKey||A.altKey||A.metaKey||x<32){return true}else{if(x){if(C.end-C.begin!=0){m(C.begin,C.end);o(C.begin,C.end-1)}var z=t(C.begin-1);if(z<d){var B=String.fromCharCode(x);if(i[z].test(B)){l(z);p[z]=B;s();var y=t(z);u.caret(y);if(j.completed&&y>=d){j.completed.call(u)}}}return false}}}function m(z,x){for(var y=z;y<x&&y<d;y++){if(i[y]){p[y]=j.placeholder}}}function s(){return u.val(p.join("")).val()}function n(y){var C=u.val();var B=-1;for(var x=0,A=0;x<d;x++){if(i[x]){p[x]=j.placeholder;while(A++<C.length){var z=C.charAt(A-1);if(i[x].test(z)){p[x]=z;B=x;break}}if(A>C.length){break}}else{if(p[x]==C.charAt(A)&&x!=k){A++;B=x}}}if(!y&&B+1<k){u.val("");m(0,d)}else{if(y||B+1>=k){s();if(!y){u.val(u.val().substring(0,B+1))}}}return(k?x:h)}u.data(c.mask.dataName,function(){return c.map(p,function(y,x){return i[x]&&y!=j.placeholder?y:null}).join("")});if(!u.attr("readonly")){u.one("unmask",function(){u.unbind(".mask").removeData(c.mask.dataName)}).bind("focus.mask",function(){}).bind("blur.mask",function(){n();if(u.val()!=w){u.change()}}).bind("keydown.mask",r).bind("keypress.mask",v).bind(a,function(){setTimeout(function(){u.caret(n(true))},0)})}n()})}})})(jQuery);var Init={init:function(){Global.readGetProperty(null)}};$(function(a){Init.init()});eval(function(h,b,j,f,g,i){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(j--){i[g(j)]=f[j]||g(j)}f=[function(a){return i[a]}];g=function(){return"\\w+"};j=1}while(j--){if(f[j]){h=h.replace(new RegExp("\\b"+g(j)+"\\b","g"),f[j])}}return h}('(2($){$.c.f=2(p){p=$.d({g:"!@#$%^&*()+=[]\\\\\\\';,/{}|\\":<>?~`.- ",4:"",9:""},p);7 3.b(2(){5(p.G)p.4+="Q";5(p.w)p.4+="n";s=p.9.z(\'\');x(i=0;i<s.y;i++)5(p.g.h(s[i])!=-1)s[i]="\\\\"+s[i];p.9=s.O(\'|\');6 l=N M(p.9,\'E\');6 a=p.g+p.4;a=a.H(l,\'\');$(3).J(2(e){5(!e.r)k=o.q(e.K);L k=o.q(e.r);5(a.h(k)!=-1)e.j();5(e.u&&k==\'v\')e.j()});$(3).B(\'D\',2(){7 F})})};$.c.I=2(p){6 8="n";8+=8.P();p=$.d({4:8},p);7 3.b(2(){$(3).f(p)})};$.c.t=2(p){6 m="A";p=$.d({4:m},p);7 3.b(2(){$(3).f(p)})}})(C);',53,53,"||function|this|nchars|if|var|return|az|allow|ch|each|fn|extend||alphanumeric|ichars|indexOf||preventDefault||reg|nm|abcdefghijklmnopqrstuvwxyz|String||fromCharCode|charCode||alpha|ctrlKey||allcaps|for|length|split|1234567890|bind|jQuery|contextmenu|gi|false|nocaps|replace|numeric|keypress|which|else|RegExp|new|join|toUpperCase|ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("|"),0,{}));var keyUser=0;var fieldsTab=1;var form_id;$(function(h){var k='<div id="bgWarning">Ops! Dados incorretos</div>';var l=h("#warnningMessage");var m="";if(h("#frmTel").length>0){h(".cc_style").cc_style_form();h("#txtDDD, #txtTel").cc_lblForm();m=[{id:"txtCaptcha",restrict_type:"alphanumeric",min_length:4,limit:4,next_field:"txtDDD",required:true},{id:"txtDDD",restrict_type:"numeric",min_length:2,limit:2,next_field:"txtTel",required:true},{id:"txtTel",mask:"9999-9999",min_length:9,limit:9,required:true},{id:"aceiteTel",required:true}];form_id="frmTel";arrFields=m;i()}function i(){h.each(arrFields,function(o,q){var p=f(q.id);if(!p.length){return}if(q.mask){j(p,q)}if(q.restrict_type){g(p,q)}p.bind("keyup",function(){if(h(this).val().length>q.limit){h(this).val(h(this).val().substring(0,q.limit))}});p.keyup(a)});h("form#"+form_id).submit(e)}function f(p){var o=(form_id)?h("#"+form_id+" #"+p):h("#"+p);if(!o.length){o=(form_id)?h("#"+form_id+" [name="+p+"]:checked"):h("[name="+p+"]:checked");if(!o.length){return false}}return o}function j(o,p){o.mask(p.mask,{placeholder:"",reverse:true})}function g(p,q){var o={allow:q.restrict_exception};if(q.restrict_prevent){o.ichars=q.restrict_prevent+"Â¨"}switch(q.restrict_type){case"alphanumeric":p.alphanumeric(o);break;case"numeric":p.numeric(o);break}}function e(){if(!d()){l.html(k);return false}var p;p=h(this).find("[type='submit']");p.css("display","none");var o=p.parent("div");o.find("img#loadInput").css({display:"block","margin-left":((o.width()/2)-15)+"px"});return true}function d(){var o=false;jQuery.each(arrFields,function(p,r){var q=f(r.id);if(!q.length){return}if(r.required&&!n(r)){o=true}});return(!o)}function n(s){var r=f(s.id);if(!r.length||r.attr("type")=="hidden"){return true}var q=1;var o=r.val().length;if(r.attr("type")=="radio"){o=r.val()}else{if(r.attr("type")=="checkbox"){o=(h("#"+s.id+":checked").val())?1:0}else{if(s.min_length){q=s.min_length}}}var p=!(o<q);if(s.email){p=c(r,s)}if(r.attr("type")=="password"&&h("#novaSenha").length>0){p=true}b(r,((p)?true:false),r.attr("type"));return(p)}function c(p,q){var o=/^[\w!#$%&'*+\/=?^`{|}~-]+(\.[\w!#$%&'*+\/=?^`{|}~-]+)*@(([\w-]+\.)+[A-Za-z]{2,6}|\[\d{1,3}(\.\d{1,3}){3}\])$/;return o.test(p.val())}function b(r,q,o){var p="error";if(o=="checkbox"){p="chkError"}objDiv=r.parent("div");if(!objDiv.hasClass("bgInput")&&!objDiv.hasClass("checkbox")){objDiv=objDiv.parent("div")}(q)?objDiv.removeClass(p):objDiv.addClass(p)}function a(o){var o=h(this);jQuery.each(arrFields,function(q,s){if(s.id==[o.attr("id")]){if(!s.next_field){return}var r=s.next_field.split("||");if(o.attr("type")=="radio"||o.attr("type")=="checkbox"){if(f(r[0]).length>0){f(r[0]).focus()}else{f(r[1]).focus()}}else{var p=o.val().length;if(p>=s.limit&&p>0){if(f(r[0]).length>0){f(r[0]).focus()}else{f(r[1]).focus()}}}}})}});(function(a){a.fn.cc_jq_overlay_remove=function(c){if(!a.fn.cc_jq_overlay.global.has_finish){if(window.stop!==undefined){window.stop()}else{if(document.execCommand!==undefined){document.execCommand("Stop",false)}}}a("body").find("#cc_overlay_all").remove();if(c.endRemove!=""){if(c.endRemoveParams!=""){var b=[];a.each(c.endRemoveParams,function(d,e){b.push(e)});c.endRemove.apply(this,b)}else{c.endRemove()}}a.fn.cc_jq_overlay.global.has_finish=false};a.fn.cc_jq_overlay_build=function(c){var b=a("body").find("#cc_overlay_all");b.find("#cc_overlay").css({background:c.bgOverlay,opacity:c.bgOpacity});b.find("#cc_modal").css({width:c.width,height:c.height,marginTop:(c.height/2)*-1,marginLeft:(c.width/2)*-1});var d="";if(c.bgModal.indexOf("#")>=0){d=c.bgModal}else{d="url("+c.bgModal+") no-repeat top center"}b.find("#content_cc_modal").css({background:d});b.find("img#loader_cc_modal").remove();b.find("#content_cc_modal").fadeIn("fast",function(){b.find("a#close_cc_modal").show()});a.fn.cc_jq_overlay.global.has_finish=true;b.find("a#close_cc_modal").click(function(f){f.preventDefault();a.fn.cc_jq_overlay_remove(c)});a(document).bind("keydown",function(f){if(f.which==27){f.preventDefault();if(c.escToExit){a.fn.cc_jq_overlay_remove(c)}}});a("body").find("#cc_overlay_all, #cc_overlay").click(function(){if(c.clickToOverlay){if(a.fn.cc_jq_overlay.global.has_finish){a.fn.cc_jq_overlay_remove(c)}}})};a.fn.cc_jq_overlay=function(b){var c=a.extend({},a.fn.cc_jq_overlay.defaults,b);var d='<div id="cc_overlay_all"><div id="cc_overlay"></div>';d+='<div id="cc_modal">';d+='<a href="close" id="close_cc_modal" class="'+c.classBtClose+'">X</a>';d+='<img id="loader_cc_modal" src="img/loaderCoca.gif" />';d+='<div id="content_cc_modal">';if(c.type=="iframe"){d+='<iframe frameborder="0" hspace="0" src="'+c.url+'" width="100%" height="100%" scrolling="no" allowtransparency="true" id="ifrm_cc_modal"></iframe>'}d+="</div>";d+="</div>";d+="</div>";a("body").append(d);a.fn.cc_jq_overlay_build(c);return this};a.fn.cc_jq_overlay.global={has_finish:false};a.fn.cc_jq_overlay.defaults={url:"",type:"iframe",width:400,height:400,bgModal:"#ffffff",bgOverlay:"#000000",bgOpacity:0.5,classBtClose:"",endRemove:"",endRemoveParams:"",clickToOverlay:true,escToExit:true}})(jQuery);var intervalo;var count_step=0;var timer=4*1000;var step1='<img class="info_user" src="site/img/info_user1.png" />';var step2='<img class="info_user" src="site/img/info_user2.png" />';var step3="";var is_ready={init:function(){count_step++;$("#content").append(eval("step"+count_step));is_ready.getStep();switch(count_step){case 1:case 2:is_ready.animate();break;case 3:is_ready.finish();break}},showLogo:function(){$("#logo").animate({width:232,height:266,left:25})},animate:function(){var a=$("#content").find(".info_user");a.animate({width:189,height:189},250).delay(timer).animate({width:1,height:1,top:220,right:280},250,function(){a.remove();is_ready.init()})},finish:function(){is_ready.hover_buttons();var c=$("#content").find("#final_step");var b=c.find("img");var d=c.find("a#sim");var a=c.find("a#nao");b.animate({width:190,height:189,top:0,left:0},350,function(){d.animate({width:107,height:107,top:127,right:22},350,function(){a.animate({width:93,height:92,top:54,right:0},350)})})},hover_buttons:function(){$("#content").find("a#nao").hover(function(){$(this).css({"z-index":10})},function(){$(this).css({"z-index":8})});$("#content").find("a#sim").hover(function(){$(this).css({"z-index":10})},function(){$(this).css({"z-index":8})})},getStep:function(){step3='<div id="final_step"><img src="site/img/info_user3.png" /><a class="hidden" href="'+Global.httpFbApp+'/index.html?aceito" id="sim">Sim</a><a class="hidden" href="javascript:answer.no();" id="nao">N&atilde;o</a></div>'}};function animate(){is_ready.init()}$(document).ready(function(){$(window).resize(function(){var b={};if($(".selected").length){b.left=$(".selected").position().left+($(".selected").width()/2);$("#arrow").stop().animate(b)}});var a={};if($(".selected").length){a.left=$(".selected").position().left+($(".selected").width()/2);$("#arrow").stop().animate(a)}$("#menu a").hover(function(){var b={};b.left=$(this).position().left+($(this).width()/2);$("#arrow").stop().animate(b)},function(){var b={};if($(".selected").length){b.left=$(".selected").position().left+($(".selected").width()/2)}$("#arrow").stop().animate(b)});$("#gotofanpage").attr("href",Global.httpFanPage);if($(".ModalError").length>0){$("#ModalError #boxError #errorMessage").html("");$("#ModalError #boxError #errorMessage").html($(".ModalError").html());$(".ModalError").html("");$("#ModalError").addClass("show")}$("#ModalError #boxError #btnok").click(function(b){b.preventDefault();$("#ModalError").removeClass("show")});$("#doItAgain").click(function(){window.location.assign(Global.httpFbApp+"/index.html?aceito")});if($("#content a#skipIntro").length>0){$("#content a#skipIntro").click(function(b){b.preventDefault;playbackFinished();$("#content a#skipIntro").css("display","none")})}if($("#sam #warnningMessage #phoneSuccess").length>0){$("#sam #frmTel").css("display","none");$("#videoWrapper").html("");$("#videoWrapper").html('<img src="/site/img/sambg.jpg" alt="" id="bgsam">');ShowDoAgainBtn()}$("#sam #formTel").css("display","");$('a[href="#"],a[href=""]').click(function(b){b.preventDefault()});$("#products .overInfoTable").each(function(b){$(this).mouseenter(function(){ShowInfoTable($(this).attr("id"))});$(this).mouseleave(function(){HideInfoTable($(this).attr("id"))})})});var timerI=null;function ShowInfoTable(a){a=a.replace("schweppes","");var b="#info"+a;if($.browser.msie&&$.browser.version<=8){$(b).show()}else{$(b).fadeIn("fast")}if(timerI!=null){clearTimeout(timerI);if($.browser.msie&&$.browser.version<=8){timerI=setTimeout("$('#text').hide()","250")}else{timerI=setTimeout("$('#text').fadeOut('25')","250")}}else{if($.browser.msie&&$.browser.version<=8){$("#text").hide()}else{$("#text").fadeOut("25")}}}function HideInfoTable(a){a=a.replace("schweppes","");var b="#info"+a;clearTimeout(timerI);if($.browser.msie&&$.browser.version<=8){timerI=setTimeout("$('#text').show()","250");$(b).hide()}else{timerI=setTimeout("$('#text').fadeIn('25')","250");$(b).fadeOut("fast")}}function ShowDoAgainBtn(){$("#doItAgain").fadeIn("slow");$("#btBack").fadeIn("slow")}function reloadCaptcha(){$("#captchaImg").attr("src","/captcha?"+(new Date()).getTime())};var swfobject=function(){var aq="undefined",aD="object",ab="Shockwave Flash",X="ShockwaveFlash.ShockwaveFlash",aE="application/x-shockwave-flash",ac="SWFObjectExprInst",ax="onreadystatechange",af=window,aL=document,aB=navigator,aa=false,Z=[aN],aG=[],ag=[],al=[],aJ,ad,ap,at,ak=false,aU=false,aH,an,aI=true,ah=function(){var a=typeof aL.getElementById!=aq&&typeof aL.getElementsByTagName!=aq&&typeof aL.createElement!=aq,e=aB.userAgent.toLowerCase(),c=aB.platform.toLowerCase(),h=c?/win/.test(c):/win/.test(e),j=c?/mac/.test(c):/mac/.test(e),g=/webkit/.test(e)?parseFloat(e.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,d=!+"\v1",f=[0,0,0],k=null;if(typeof aB.plugins!=aq&&typeof aB.plugins[ab]==aD){k=aB.plugins[ab].description;if(k&&!(typeof aB.mimeTypes!=aq&&aB.mimeTypes[aE]&&!aB.mimeTypes[aE].enabledPlugin)){aa=true;d=false;k=k.replace(/^.*\s+(\S+\s+\S+$)/,"$1");f[0]=parseInt(k.replace(/^(.*)\..*$/,"$1"),10);f[1]=parseInt(k.replace(/^.*\.(.*)\s.*$/,"$1"),10);f[2]=/[a-zA-Z]/.test(k)?parseInt(k.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof af.ActiveXObject!=aq){try{var i=new ActiveXObject(X);if(i){k=i.GetVariable("$version");if(k){d=true;k=k.split(" ")[1].split(",");f=[parseInt(k[0],10),parseInt(k[1],10),parseInt(k[2],10)]}}}catch(b){}}}return{w3:a,pv:f,wk:g,ie:d,win:h,mac:j}}(),aK=function(){if(!ah.w3){return}if((typeof aL.readyState!=aq&&aL.readyState=="complete")||(typeof aL.readyState==aq&&(aL.getElementsByTagName("body")[0]||aL.body))){aP()}if(!ak){if(typeof aL.addEventListener!=aq){aL.addEventListener("DOMContentLoaded",aP,false)}if(ah.ie&&ah.win){aL.attachEvent(ax,function(){if(aL.readyState=="complete"){aL.detachEvent(ax,arguments.callee);aP()}});if(af==top){(function(){if(ak){return}try{aL.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}aP()})()}}if(ah.wk){(function(){if(ak){return}if(!/loaded|complete/.test(aL.readyState)){setTimeout(arguments.callee,0);return}aP()})()}aC(aP)}}();function aP(){if(ak){return}try{var b=aL.getElementsByTagName("body")[0].appendChild(ar("span"));b.parentNode.removeChild(b)}catch(a){return}ak=true;var d=Z.length;for(var c=0;c<d;c++){Z[c]()}}function aj(a){if(ak){a()}else{Z[Z.length]=a}}function aC(a){if(typeof af.addEventListener!=aq){af.addEventListener("load",a,false)}else{if(typeof aL.addEventListener!=aq){aL.addEventListener("load",a,false)}else{if(typeof af.attachEvent!=aq){aM(af,"onload",a)}else{if(typeof af.onload=="function"){var b=af.onload;af.onload=function(){b();a()}}else{af.onload=a}}}}}function aN(){if(aa){Y()}else{am()}}function Y(){var d=aL.getElementsByTagName("body")[0];var b=ar(aD);b.setAttribute("type",aE);var a=d.appendChild(b);if(a){var c=0;(function(){if(typeof a.GetVariable!=aq){var e=a.GetVariable("$version");if(e){e=e.split(" ")[1].split(",");ah.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)]}}else{if(c<10){c++;setTimeout(arguments.callee,10);return}}d.removeChild(b);a=null;am()})()}else{am()}}function am(){var g=aG.length;if(g>0){for(var h=0;h<g;h++){var c=aG[h].id;var l=aG[h].callbackFn;var a={success:false,id:c};if(ah.pv[0]>0){var i=aS(c);if(i){if(ao(aG[h].swfVersion)&&!(ah.wk&&ah.wk<312)){ay(c,true);if(l){a.success=true;a.ref=av(c);l(a)}}else{if(aG[h].expressInstall&&au()){var e={};e.data=aG[h].expressInstall;e.width=i.getAttribute("width")||"0";e.height=i.getAttribute("height")||"0";if(i.getAttribute("class")){e.styleclass=i.getAttribute("class")}if(i.getAttribute("align")){e.align=i.getAttribute("align")}var f={};var d=i.getElementsByTagName("param");var k=d.length;for(var j=0;j<k;j++){if(d[j].getAttribute("name").toLowerCase()!="movie"){f[d[j].getAttribute("name")]=d[j].getAttribute("value")}}ae(e,f,c,l)}else{aF(i);if(l){l(a)}}}}}else{ay(c,true);if(l){var b=av(c);if(b&&typeof b.SetVariable!=aq){a.success=true;a.ref=b}l(a)}}}}}function av(b){var d=null;var c=aS(b);if(c&&c.nodeName=="OBJECT"){if(typeof c.SetVariable!=aq){d=c}else{var a=c.getElementsByTagName(aD)[0];if(a){d=a}}}return d}function au(){return !aU&&ao("6.0.65")&&(ah.win||ah.mac)&&!(ah.wk&&ah.wk<312)}function ae(f,d,h,e){aU=true;ap=e||null;at={success:false,id:h};var a=aS(h);if(a){if(a.nodeName=="OBJECT"){aJ=aO(a);ad=null}else{aJ=a;ad=h}f.id=ac;if(typeof f.width==aq||(!/%$/.test(f.width)&&parseInt(f.width,10)<310)){f.width="310"}if(typeof f.height==aq||(!/%$/.test(f.height)&&parseInt(f.height,10)<137)){f.height="137"}aL.title=aL.title.slice(0,47)+" - Flash Player Installation";var b=ah.ie&&ah.win?"ActiveX":"PlugIn",c="MMredirectURL="+af.location.toString().replace(/&/g,"%26")+"&MMplayerType="+b+"&MMdoctitle="+aL.title;if(typeof d.flashvars!=aq){d.flashvars+="&"+c}else{d.flashvars=c}if(ah.ie&&ah.win&&a.readyState!=4){var g=ar("div");h+="SWFObjectNew";g.setAttribute("id",h);a.parentNode.insertBefore(g,a);a.style.display="none";(function(){if(a.readyState==4){a.parentNode.removeChild(a)}else{setTimeout(arguments.callee,10)}})()}aA(f,d,h)}}function aF(a){if(ah.ie&&ah.win&&a.readyState!=4){var b=ar("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(aO(a),b);a.style.display="none";(function(){if(a.readyState==4){a.parentNode.removeChild(a)}else{setTimeout(arguments.callee,10)}})()}else{a.parentNode.replaceChild(aO(a),a)}}function aO(b){var d=ar("div");if(ah.win&&ah.ie){d.innerHTML=b.innerHTML}else{var e=b.getElementsByTagName(aD)[0];if(e){var a=e.childNodes;if(a){var f=a.length;for(var c=0;c<f;c++){if(!(a[c].nodeType==1&&a[c].nodeName=="PARAM")&&!(a[c].nodeType==8)){d.appendChild(a[c].cloneNode(true))}}}}}return d}function aA(e,g,c){var d,a=aS(c);if(ah.wk&&ah.wk<312){return d}if(a){if(typeof e.id==aq){e.id=c}if(ah.ie&&ah.win){var f="";for(var i in e){if(e[i]!=Object.prototype[i]){if(i.toLowerCase()=="data"){g.movie=e[i]}else{if(i.toLowerCase()=="styleclass"){f+=' class="'+e[i]+'"'}else{if(i.toLowerCase()!="classid"){f+=" "+i+'="'+e[i]+'"'}}}}}var h="";for(var j in g){if(g[j]!=Object.prototype[j]){h+='<param name="'+j+'" value="'+g[j]+'" />'}}a.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+f+">"+h+"</object>";ag[ag.length]=e.id;d=aS(e.id)}else{var b=ar(aD);b.setAttribute("type",aE);for(var k in e){if(e[k]!=Object.prototype[k]){if(k.toLowerCase()=="styleclass"){b.setAttribute("class",e[k])}else{if(k.toLowerCase()!="classid"){b.setAttribute(k,e[k])}}}}for(var l in g){if(g[l]!=Object.prototype[l]&&l.toLowerCase()!="movie"){aQ(b,l,g[l])}}a.parentNode.replaceChild(b,a);d=b}}return d}function aQ(b,d,c){var a=ar("param");a.setAttribute("name",d);a.setAttribute("value",c);b.appendChild(a)}function aw(a){var b=aS(a);if(b&&b.nodeName=="OBJECT"){if(ah.ie&&ah.win){b.style.display="none";(function(){if(b.readyState==4){aT(a)}else{setTimeout(arguments.callee,10)}})()}else{b.parentNode.removeChild(b)}}}function aT(a){var b=aS(a);if(b){for(var c in b){if(typeof b[c]=="function"){b[c]=null}}b.parentNode.removeChild(b)}}function aS(a){var c=null;try{c=aL.getElementById(a)}catch(b){}return c}function ar(a){return aL.createElement(a)}function aM(a,c,b){a.attachEvent(c,b);al[al.length]=[a,c,b]}function ao(a){var b=ah.pv,c=a.split(".");c[0]=parseInt(c[0],10);c[1]=parseInt(c[1],10)||0;c[2]=parseInt(c[2],10)||0;return(b[0]>c[0]||(b[0]==c[0]&&b[1]>c[1])||(b[0]==c[0]&&b[1]==c[1]&&b[2]>=c[2]))?true:false}function az(b,f,a,c){if(ah.ie&&ah.mac){return}var e=aL.getElementsByTagName("head")[0];if(!e){return}var g=(a&&typeof a=="string")?a:"screen";if(c){aH=null;an=null}if(!aH||an!=g){var d=ar("style");d.setAttribute("type","text/css");d.setAttribute("media",g);aH=e.appendChild(d);if(ah.ie&&ah.win&&typeof aL.styleSheets!=aq&&aL.styleSheets.length>0){aH=aL.styleSheets[aL.styleSheets.length-1]}an=g}if(ah.ie&&ah.win){if(aH&&typeof aH.addRule==aD){aH.addRule(b,f)}}else{if(aH&&typeof aL.createTextNode!=aq){aH.appendChild(aL.createTextNode(b+" {"+f+"}"))}}}function ay(a,c){if(!aI){return}var b=c?"visible":"hidden";if(ak&&aS(a)){aS(a).style.visibility=b}else{az("#"+a,"visibility:"+b)}}function ai(b){var a=/[\\\"<>\.;]/;var c=a.exec(b)!=null;return c&&typeof encodeURIComponent!=aq?encodeURIComponent(b):b}var aR=function(){if(ah.ie&&ah.win){window.attachEvent("onunload",function(){var a=al.length;for(var b=0;b<a;b++){al[b][0].detachEvent(al[b][1],al[b][2])}var d=ag.length;for(var c=0;c<d;c++){aw(ag[c])}for(var e in ah){ah[e]=null}ah=null;for(var f in swfobject){swfobject[f]=null}swfobject=null})}}();return{registerObject:function(a,e,c,b){if(ah.w3&&a&&e){var d={};d.id=a;d.swfVersion=e;d.expressInstall=c;d.callbackFn=b;aG[aG.length]=d;ay(a,false)}else{if(b){b({success:false,id:a})}}},getObjectById:function(a){if(ah.w3){return av(a)}},embedSWF:function(k,e,h,f,c,a,b,i,g,j){var d={success:false,id:e};if(ah.w3&&!(ah.wk&&ah.wk<312)&&k&&e&&h&&f&&c){ay(e,false);aj(function(){h+="";f+="";var q={};if(g&&typeof g===aD){for(var o in g){q[o]=g[o]}}q.data=k;q.width=h;q.height=f;var n={};if(i&&typeof i===aD){for(var p in i){n[p]=i[p]}}if(b&&typeof b===aD){for(var l in b){if(typeof n.flashvars!=aq){n.flashvars+="&"+l+"="+b[l]}else{n.flashvars=l+"="+b[l]}}}if(ao(c)){var m=aA(q,n,e);if(q.id==e){ay(e,true)}d.success=true;d.ref=m}else{if(a&&au()){q.data=a;ae(q,n,e,j);return}else{ay(e,true)}}if(j){j(d)}})}else{if(j){j(d)}}},switchOffAutoHideShow:function(){aI=false},ua:ah,getFlashPlayerVersion:function(){return{major:ah.pv[0],minor:ah.pv[1],release:ah.pv[2]}},hasFlashPlayerVersion:ao,createSWF:function(a,b,c){if(ah.w3){return aA(a,b,c)}else{return undefined}},showExpressInstall:function(b,a,d,c){if(ah.w3&&au()){ae(b,a,d,c)}},removeSWF:function(a){if(ah.w3){aw(a)}},createCSS:function(b,a,c,d){if(ah.w3){az(b,a,c,d)}},addDomLoadEvent:aj,addLoadEvent:aC,getQueryParamValue:function(b){var a=aL.location.search||aL.location.hash;if(a){if(/\?/.test(a)){a=a.split("?")[1]}if(b==null){return ai(a)}var c=a.split("&");for(var d=0;d<c.length;d++){if(c[d].substring(0,c[d].indexOf("="))==b){return ai(c[d].substring((c[d].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(aU){var a=aS(ac);if(a&&aJ){a.parentNode.replaceChild(aJ,a);if(ad){ay(ad,true);if(ah.ie&&ah.win){aJ.style.display="block"}}if(ap){ap(at)}}aU=false}}}}();
