if(self!=top){top.location=self.location}if(getIdLoja()=="1915"||getIdLoja()=="2171"||getIdLoja()=="2298"){replaceMenuItem()}function replaceMenuItem(){var b=pegarFilho(document.getElementById("menu"),1);try{var d=[];var c=new ListaDropDown();var h,k;if(getIdLoja()=="1915"){d.push(criarItem("T&ecirc;nis","viewDepartment.jsf?VP=A4D0t3ySUY8ddSMRJz%2FQnj0JboOn36jLCB7YwvN3NG8%3D&VPP=TENIS"));d.push(criarItem("Chuteira","viewDepartment.jsf?VP=A4D0t3ySUY8lt7rgfXST%2B%2FcUpQVCNhlouuOfWNyEiLE%3D&VPP=CHUTEIRAS"));d.push(criarItem("Camisas de Futebol","viewSection.jsf?VP=Ha63g6ETMyzsSYBElaeq0%2FqriML3liin&VPP=CAMISAS+DE+FUTEBOL"));d.push(criarItem("Bolas","viewSection.jsf?VP=MY9yJA%2FMTCrAtQQHbu0f7goiPO08zbk5Jt0j9Jl4tZs%3D&VPP=BOLAS"));d.push(criarItem("Vestu&aacute;rio Esportivo",""));h=c.adicionar("Masculino","viewSection.jsf?VP=MY9yJA%2FMTCr420bBWpYiTDTdxYvBGpAq&VPP=VESTUARIO+ESPORTIVO+MASCULINOS");$(h).addClassName("masculino");k=c.adicionar("Feminino","viewSection.jsf?VP=XtL4v5OGGcmqLgYQ%2FghsCWwsmurgvzPYEqZ7jUbyGRg%3D&VPP=FEMININOS");$(k).addClassName("feminino");d.push(criarItem("Esportes &amp; Lazer","viewDepartment.jsf?VP=CHPOD3%2FkHp%2F9vEja87Ua3g%3D%3D&VPP=ESPORTES+LAZER"));d.push(criarItem("Fitness","viewDepartment.jsf?VP=uJOEUr4Nr3xN%2FpyhOT%2B6UA%3D%3D&VPP=FITNESS"))}else{if(getIdLoja()=="2171"){d.push(criarItem("T&ecirc;nis","viewDepartment.jsf?VP=HDGe3mjO3I%2BFD6JDovlKgTUVbWl8EbpCooo%2B0JAZcIc%3D&VPP=TENIS"));d.push(criarItem("Chuteira","viewDepartment.jsf?VP=A4D0t3ySUY8lt7rgfXST%2B%2FcUpQVCNhlouuOfWNyEiLE%3D&VPP=CHUTEIRAS"));d.push(criarItem("Camisas de Futebol","viewSection.jsf?VP=nJaiVy8APUUBCGfZfjM2%2FVW01BdgxJsPnggPPghRUgI%3D&VPP=FUTEBOL+CAMISAS+DE+FUTEBOL"));d.push(criarItem("Bolas","viewSection.jsf?VP=nJaiVy8APUWw%2F0%2FecU7xc%2F9V%2Bmsic790J9D3O5fvKuE%3D&VPP=BOLAS"));d.push(criarItem("Vestu&aacute;rio Esportivo",""));h=c.adicionar("Masculino","viewSection.jsf?VP=nJaiVy8APUVvxMSV%2BqhycF04COmpbUpID2nno%2B4NF00%3D&VPP=VESTUARIO+ESPORTIVO+MASCULINOS");$(h).addClassName("masculino");k=c.adicionar("Feminino","viewSection.jsf?VP=d2bxe0yy86UIcX16yociCHv74Jc4BkqDd5GlJa4Rk2Y%3D&VPP=FEMININOS");$(k).addClassName("feminino");d.push(criarItem("Esportes &amp; Lazer","viewDepartment.jsf?VP=pCHfOSZkoyWI5zONiCzK%2FQ1%2FbZ5u1vXq&VPP=ESPORTES+LAZER"));d.push(criarItem("Fitness","viewDepartment.jsf?VP=AYIQPBwkrE2U3r9Gt0v8O6w7AZuiQJcN&VPP=FITNESS"))}else{if(getIdLoja()=="2298"){d.push(criarItem("T&ecirc;nis","viewDepartment.jsf?VP=V0h40QxGPCsrqtzLqQdy8zY0G7G7jaJ3kXyf%2FVUfqeY%3D&VPP=TENIS"));d.push(criarItem("Chuteira","viewDepartment.jsf?VP=V0h40QxGPCstvUTNk%2BqKPDDP3C16QBJ84rBnJkb1YV8%3D&VPP=CHUTEIRAS"));d.push(criarItem("Camisas de Futebol","viewSection.jsf?VP=Zzqy%2BiaGjxAEMT9epXXsU%2Fm2dyB5UnrROx5mSqJbi8E%3D&VPP=CAMISAS+DE+FUTEBOL"));d.push(criarItem("Bolas","viewSection.jsf?VP=%2BoaSM3LsPr6otv8EVRLcM%2FIJmbNDt8ERdngJ%2BOyomdQ%3D&VPP=BOLAS"));d.push(criarItem("Vestu&aacute;rio Esportivo",""));h=c.adicionar("Masculino","viewSection.jsf?VP=CAfdtUh7d2DB80iTmfb%2BqzrUsndcrqBLBekOb6a6oSQ%3D&VPP=MASCULINOS");$(h).addClassName("masculino");k=c.adicionar("Feminino","viewSection.jsf?VP=CAfdtUh7d2DB80iTmfb%2Bq%2FwwZRvPkuxphpTKkB3n3W4%3D&VPP=FEMININOS");$(k).addClassName("feminino");d.push(criarItem("Esportes &amp; Lazer","viewDepartment.jsf?VP=Q8VZ%2B1QjiYn1O57IkXD1k9HJAVWYqQvT&VPP=ESPORTES+LAZER"));d.push(criarItem("Fitness","viewDepartment.jsf?VP=KpsuxjUCjgzBL01bVB8PXyOcz2i7yvLH&VPP=FITNESS"))}}}$(d[d.length-3]).addClassName("dropdown");d[d.length-3].appendChild(c.ul());if(navigator.userAgent.indexOf("MSIE 6")!=-1){Event.observe(d[d.length-3],"mouseover",function(l){$(this).addClassName("dropDownHover")});Event.observe(d[d.length-3],"mouseout",function(l){$(this).removeClassName("dropDownHover")})}var a=document.getElementById("showAll");var j=pegarFilho(b,1);if(j){j.parentNode.replaceChild(d[0],j)}$(d[0]).addClassName("destaque");for(var f=1;f<d.length;f++){var j=d[f];b.insertBefore(j,a);$(j).addClassName("destaque")}}catch(g){}b.className="show"
}function pegarFilho(a,d){var c=a.firstChild,b=0;while(c){if(c.nodeType==1){b++}if(b>=d){break}else{c=c.nextSibling}}if(c&&b){return c}else{return false}}function criarItem(f,d){var b=document.createElement("li");var c=b.appendChild(document.createElement("a"));if(d){c.href="http://"+location.host+"/loja/pages/"+d}else{c.href="javascript:void(0)"}var e=c.appendChild(document.createElement("span"));e.innerHTML=f;return b}function ListaDropDown(){var a=document.createElement("ul");this.adicionar=function(e,d){var b=a.appendChild(document.createElement("li"));var c=b.appendChild(document.createElement("a"));c.innerHTML=e;c.href="http://"+location.host+"/loja/pages/"+d;return b};this.ul=function(){return a}}if(getIdLoja()=="2399"){var quants=jQuery(".checkout table .quantidade input");for(var i=0;i<quants.length;i++){quants[i].disabled=true;quants[i].style.cursor="default";quants[i].value="1";quants[i].onkeyup()}}getDHTML("1968","home","","dhtml");getDHTML("1601","home","","dhtml");getDHTML("1829","home","","dhtml");getDHTML("1968","home","","dhtml");getDHTML("1661","home","","dhtml");getDHTML("1931","home","","dhtml");getDHTML("2260","home","","DHTML_superofertas");getDHTML("313","home","","dhtml");getDHTML("315","home","","dhtml");getDHTML("2210","home","","dhtml");getDHTML("1942","home","","dhtml");getDHTML("1739","home","","dhtml");getDHTML("459","home","","dhtml");getDHTML("2307","home","","dhtml");getDHTML("1972","home","","dhtml");getDHTML("1943","home","","dhtml");getDHTML("1944","home","","dhtml");getDHTML("1543","home","","dhtml");getDHTML("1406","home","","dhtml");getDHTML("1294","home","","dhtml");getDHTMLDomain("1209","home","","dhtml","www.ipirangashop.com");getDHTMLDomain("1210","home","","dhtml","www.ipirangashop.com");getDHTMLDomain("1211","home","","dhtml","www.ipirangashop.com");getDHTMLDomain("1462","home","","dhtml","www.ipirangashop.com");getDHTML("454","home","","dhtml");getDHTML("1419","home","","dhtml");getDHTML("3015","home","","dhtml");var escolha=Math.floor(Math.random()*2);if(escolha==0){getDHTML("2209","home","","dhtml25863")}else{getDHTML("2209","home","","dhtml27708")}var data=new Date();if(data>new Date("08/25/2010 00:01")){if(data<new Date("08/31/2010 00:01")){getDHTML("59","home","","dhtml_pecosmalucos6")}else{if(data<new Date("09/01/2010 00:01")){getDHTML("59","home","","dhtml_pecosmalucos7")}}}entreDatas("07/28/2011 17:00","08/01/2011 00:00",function(){getDHTML("1398","home","","dhtml_flamengo")});getDHTML("2209","home","","dhtml");getDHTML("2033","home","","dhtml");getDHTML("2113","home","","dhtml");var escolha=Math.floor(Math.random()*2);if(escolha==0){getDHTML("2032","home","","dhtml1")}else{getDHTML("2032","home","","dhtml2")}getDHTMLAzul("1887","formas_pgto","","dhtml");getDHTML("1831","home","","dhtml");getDHTML("309","home","","dhtml");getDHTML("315","home","","dhtml");getDHTML("313","home","","dhtml");getDHTML("1418","home","","dhtml");getDHTML("1952","home","","dhtml");getDHTML("602","home","","dhtml");getDHTML("1952","home","","dhtml");var BANCO_REAL_VIP_ID=1951;if(getIdLoja()==BANCO_REAL_VIP_ID){var minutos=(new Date()).getMinutes();if(minutos<30){getDHTML(BANCO_REAL_VIP_ID,"home","","dhtml25863")}else{getDHTML(BANCO_REAL_VIP_ID,"home","","dhtml27708")}}getDHTML("391","home","","dhtml");getDHTML("1978","home","","dhtml");getDHTML("2015","home","","dhtml");pedCorp();getDHTML("2607","home","","dhtml");getDHTML("2625","home","","dhtml");getDHTML("2035","home","","dhtml");getDHTML("3313","home","","dhtml");getDHTML("1967","home","","dhtml");getDHTML("2920","home","","dhtml");getDHTML("593","home","","dhtml");getDHTML("1326","home","","dhtml");getDHTML("2390","home","","dhtml");getDHTML("3318","home","","dhtml");getDHTML("3141","home","","dhtml");getDHTML("919","home","","dhtml");getDHTML("3306","home","","dhtml");getDHTML("2713","home","","dhtml");getDHTML("1234","home","","dhtml");getDHTML("703","home","","dhtml");getDHTML("1690","home","","dhtml");getDHTML("863","home","","dhtml");getDHTML("705","home","","dhtml");
getDHTML("2666","home","","dhtml");getDHTML("696","home","","dhtml");getDHTML("1722","home","","dhtml");getDHTML("1858","home","","dhtml");getDHTML("2623","home","","dhtml");getDHTML("2208","home","","dhtml");getDHTML("2754","home","","dhtml");getDHTML("1565","home","","dhtml");getDHTML("468","home","","dhtml");getDHTML("3229","home","","dhtml");getDHTML("3117","home","","dhtml");getDHTML("2270","home","","dhtml");getDHTML("3271","home","","dhtml");getDHTML("3273","home","","dhtml");getDHTML("1298","home","","dhtml");getDHTML("2001","home","","dhtml");getDHTML("2737","home","","dhtml");getDHTML("1733","home","","dhtml");getDHTML("2731","home","","dhtml");getDHTML("261","home","","dhtml");getDHTML("1820","home","","dhtml");getDHTML("2260","home","","dhtml");getDHTML("3338","home","","dhtml");getDHTML("1835","home","","dhtml");getDHTML("790","home","","dhtml");getDHTML("3118","home","","dhtml");getDHTML("2877","home","","dhtml");getDHTML("2590","home","","dhtml");getDHTML("3340","home","","dhtml");getDHTML("2718","home","","dhtml");getDHTML("2916","home","","dhtml");getDHTML("3360","home","","dhtml");var escolha=Math.floor(Math.random()*2);if(escolha==0){getDHTML("3359","home","","dhtml1")}else{getDHTML("3359","home","","dhtml2")}var escolha=Math.floor(Math.random()*2);if(escolha==0){getDHTML("3357","home","","dhtml1")}else{getDHTML("3357","home","","dhtml2")}getDHTML("2376","home","","dhtml");getDHTML("59","revelacao_digital","","dhtml");getDHTML("1251","homeLista","","DHTML_comcriarlindo");getDHTML("1827","home","","dhtml");getDHTML("838","home","","dhtml");getDHTML("2845","home","","dhtml");getDHTML("2603","home","","dhtml");getDHTML("2603","home","","dhtml");getDHTML("2603","home","","dhtml");getDHTML("1729","home","","dhtml");getDHTML("444","home","","dhtml");getDHTML("536","home","","dhtml");getDHTML("1596","home","","dhtml");getDHTML("264","home","","dhtml");getDHTML("1973","home","","dhtml");getDHTML("1625","home","","dhtml");getDHTML("1225","home","","dhtml");getDHTML("364","home","","dhtml");getDHTML("1969","home","","dhtml");getDHTML("1974","home","","dhtml");getDHTML("2620","home","","dhtml");getDHTML("161","home","","dhtml");getDHTML("2719","home","","dhtml");getDHTML("2965","home","","dhtml");getDHTML("2257","home","","dhtml_entregagarantida");getDHTML("2047","home","","dhtml_entregagarantida");getDHTML("3358","home","","dhtml_entregagarantida");getDHTML("3365","home","","dhtml_entregagarantida");getDHTML("3367","home","","dhtml");getDHTML("3397","home","","dhtml");getDHTML("3420","home","","dhtml");getDHTML("1974","home","","dhtml");getDHTML697x531("1398","home","","dhtml_697x531_1398");entreDatas("12/08/2011 12:00","12/08/2011 15:00",function(){getDHTML("59","home","","dhtml_plantao")});entreDatas("12/09/2011 12:00","12/09/2011 15:00",function(){getDHTML("59","home","","dhtml_plantao");getDHTML("59","dept_home","","dhtml_plantao");getDHTML("59","secao","","dhtml_plantao")});function showBuscaGoogle(){var b=getIdLoja();var a='<span id="seloGoogle">';a+='<object height="22" width="52" data="https://www.comprafacil.com.br/css/img/seloGoogle.swf" type="application/x-shockwave-flash">';a+='<param value="comprafacil.com.br" name="allowScriptAccess"/>';a+='<param value="https://www.comprafacil.com.br/css/img/seloGoogle.swf" name="movie"/>';a+='<param value="high" name="quality"/>';a+='<param value="transparent" name="wmode"/>';a+='<param value="0" name="menu"/>';a+="</object>";a+="</span>";$("formBuscaCF:botaoBusca").insert({after:a})}function getDHTML(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml">';c+='<object width="400" height="400" data="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';
c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getDHTML697x531(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml_697x531">';c+='<object width="697" height="531" data="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getDHTMLNATAL(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml_natal">';c+='<object width="780" height="650" data="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getDHTMLDomain(g,a,e,c,b){if(g==""||(g!=""&&getIdLoja()&&getIdLoja()==g)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(e==""||(e=!""&&getClassPg()&&getClassPg()==e)){var d='<div id="banner_dhtml">';d+='<object width="400" height="400" data="http://'+b+"/css/img/"+g+"/"+c+'.swf" type="application/x-shockwave-flash"><param value="sameDomain" name="allowScriptAccess"/><param value="http://'+b+"/css/img/"+g+"/"+c+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';d+="</div>";document.write(d)}else{return false}}else{return false}}else{return false}}function getDHTML500x500(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml_500x500">';c+='<object width="500" height="500" data="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getNovosNegociosDHTML(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml" style="margin-left:-150px!important">';c+='<object width="300" height="300" data="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getNewsCredicardDHTML(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml" style="margin-left:-375px!important">';c+='<object height="200" width="750" data="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="http://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';
c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getDHTMLSGR(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml" style="width:400px; height:400px; top:50% !important; margin:-200px 0 0 -200px !important;">';c+='<object width="400" height="400" data="http://www.comprafacil.com.br/css/img/661/'+b+'.swf" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="http://www.comprafacil.com.br/css/img/661/'+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getDHTMLIS(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml" style="width:434px; height:434px; padding:0; margin:-220px 0 0 -220px !important;">';c+='<object width="434" height="434" data="http://www.ipirangashop.com/css/img/722/campanhas/'+b+'.swf" type="application/x-shockwave-flash"><param value="ipirangashop.com" name="allowScriptAccess"/><param value="http://www.ipirangashop.com/css/img/722/campanhas/'+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getDHTMLKM(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml" style="width:434px; height:434px; padding:0; margin:-220px 0 0 -220px !important;">';c+='<object width="434" height="434" data="http://www.kmdevantagens.com/css/img/722/campanhas/'+b+'.swf" type="application/x-shockwave-flash"><param value="kmdevantagens.com" name="allowScriptAccess"/><param value="http://www.kmdevantagens.com/css/img/722/campanhas/'+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function getDHTMLAzul(e,a,d,b){if(e==""||(e!=""&&getIdLoja()&&getIdLoja()==e)){if(a==""||(a!=""&&getIdPg()&&getIdPg()==a)){if(d==""||(d=!""&&getClassPg()&&getClassPg()==d)){var c='<div id="banner_dhtml">';c+='<object width="400" height="400" data="https://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="https://www.comprafacil.com.br/css/img/'+e+"/"+b+'.swf" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';c+="</div>";document.write(c)}else{return false}}else{return false}}else{return false}}function closeDHTML(){if(jQuery("#banner_dhtml").length){jQuery("#banner_dhtml").hide()}if(jQuery("#banner_dhtml_natal").length){jQuery("#banner_dhtml_natal").hide()}if(jQuery("#banner_dhtml_697x531").length){jQuery("#banner_dhtml_697x531").hide()}if(jQuery("#banner_dhtml_500x500").length){jQuery("#banner_dhtml_500x500").hide()}}function closeDHTMLIS(){jQuery("#banner_dhtml").hide()}function getIdLoja(){var a=document.getElementsByTagName("link");if(a!=null){for(i=0;i<a.length;i++){if(a[i].href.match("global")){lojaId=a[i].href.split("css/");return lojaId[1].substring(0,lojaId[1].indexOf("/global"))}}}else{return false}}function entreDatas(a,b,d){var c=new Date();if(c>new Date(a)&&c<new Date(b)){d.call()}}function getIdPg(){return(document.body.id?document.body.id:false)}function getClassPg(){return(document.body.className?document.body.className:false)}function showAvisoCorreios(d){if($("home")){if(getIdLoja()&&getIdLoja()!="827"&&getIdLoja()!="853"){if(d==null){var b='<div id="aviso_correios">';
b+='<a href="javascript: showAvisoCorreios(0)">Fechar</a>';b+="<p>Comunicado! Prezado cliente, nossos prazos de entrega EST�O MANTIDOS apesar da greve dos Correios, pois estamos utilizando transportadoras privadas. Equipe Comprafacil.com</p>";b+="</div>";document.write(b);var a=setTimeout("showAvisoCorreios(0)",60000)}else{$("aviso_correios").style.display="none"}}}}function pedCorp(){if(document.getElementById("solucoes_corp")){document.getElementById("cfForm:fax").disabled="true";document.getElementById("cfForm:fax").style.background="#FFF";document.getElementById("cfForm:fax").style.margin="0 0 0 -40px";document.getElementById("cfForm:fax").style.border="0"}}function windowTV(c,h,k,d,j,e,m,l,f){var a;var g;if(j==true){a=k;a=(screen.width-a)/2;g=d;g=(screen.height-g)/2}else{if(j=="full"){a=1;g=1;k=(parseInt(screen.width)-9);d=(parseInt(screen.height)-9)}else{a=20;g=20}}var b="width="+k+", height="+d+",left="+a+", top="+g+", screenx="+a+", screeny="+g+", status="+e+", scrollbars="+m+", resizable="+l+", menubar="+f;window.open(c,h,b)}function getDHTMLRandom(d,a,c,b){getDHTML(d,a,c,shuffle(b)[0])}function shuffle(b){for(var c,a,d=b.length;d;c=parseInt(Math.random()*d),a=b[--d],b[d]=b[c],b[c]=a){}return b}getDHTMLRandom("1057","home","",["dhtml1","dhtml2"]);getDHTMLRandom("2262","home","",["dhtml1","dhtml2"]);if(window.jQuery){jQuery(function(){if(document.body.id=="product"){jQuery(".jqzoom").unbind().jqzoom({zoomWidth:350,zoomHeight:350,showEffect:"fadein",hideEffect:"fadeout",fadeoutSpeed:"slow",title:false})}try{var a=["59","684","1729","2719","444","1973","536","2257","1596","2047","161","1625","2620","1974","364","2603","463","3365","2965","264","938","3125","3365","2916","3212","3653"];var b=getIdLoja();var h=jQuery.inArray(b,a);inserirScript("/js/classes/CrossBrowser.js",function(){inserirScript("/js/classes/Navegador.js",function(){inserirScript("/js/classes/Lightbox.js",function(){if(jQuery.inArray(b,a)!=-1&&document.body.id=="home"){inserirScript("/js/classes/Teaser.js",carregarTeaser)}})})});if(getIdLoja()=="59"){var f='<span class="voltarHome">&lt; '+decode_utf8("Voltar para p�gina inicial")+"</span>";var c=jQuery("h1 a")[0];c.innerHTML+=f;if(jQuery("#footerNEW #centrais").length>0){}var j=jQuery('<div class="conheca"><a href="http://www.comprafacilempresas.com.br/">Clique e conhe&ccedil;a o nosso portal</a></div>');jQuery("#serviceList .cf_empresas").append(j[0])}if(navigator.userAgent.indexOf("iPad")!=-1){jQuery(document.body).addClass("iPad")}var d=getContexto();if(d!==false){jQuery(document.body).addClass("contexto_"+d)}inserirMidiasSociais()}catch(g){}})}function carregarTeaser(){if(window.Teaser){new Teaser(inserirTeaser)}}function inserirTeaser(){var a=jQuery("#breadCrumb");if(this.html().xml){var b=jQuery(this.html().xml);jQuery("#breadCrumb").replaceWith(b)}else{jQuery("#breadCrumb").replaceWith(this.html())}}function inserirScript(b,c){var a=document.createElement("script");a.type="text/javascript";a.src=b;jQuery("head")[0].appendChild(a);if(!c){return}if(!window.ActiveXObject){a.onload=c}else{a.onreadystatechange=function(){if(a.readyState=="loaded"||a.readyState=="complete"){c()}}}}function atendimentoRodape59(){var c=jQuery('<li><a href="mailto:linhadireta@comprafacil.com.br">linhadireta@comprafacil.com.br</a></li>');jQuery("#footerNEW #centrais #cent").append(c);var a=jQuery("<h4>SAC - Servi&ccedil;o de Atendimento ao Consumidor</h4>");var b=jQuery('<ul class="sac"><li>SP: 11 3595 7000</li><li>Brasil: 21 2125 7000</li></ul>');b.insertBefore(jQuery("#titleTel")[0]);a.insertBefore(b[0]);jQuery("#footerNEW #centSac").remove()}function inserirMidiasSociais(){if(jQuery("#footerNEW.comprafacil #selos #sociais").length>0){jQuery("#footerNEW.comprafacil #sociais").addClass("novo");jQuery("#footerNEW.comprafacil #sociais #blog a").html("Blog");jQuery("#footerNEW.comprafacil #sociais #twitter a").html("Twitter");jQuery("#footerNEW.comprafacil #sociais #orkut a").html("Orkut")}}function loadXML(a,b){if(a.indexOf("/")==0){a="http://"+location.host+a
}else{if(a.indexOf("://")==-1){a=location.href.slice(0,location.href.lastIndexOf("/"))+"/"+a}}var d=null;if(window.ActiveXObject){d=new ActiveXObject("Microsoft.XMLDOM");d.async=false;d.load(a);b.call(d)}else{if(window.XMLHttpRequest){var c=new window.XMLHttpRequest();c.onreadystatechange=function(f){if(c.readyState==4||c.readyState=="complete"){if(c.status==200){return b.call(c.responseXML)}else{return}}};c.open("GET",a,true);c.send(null)}}}function alterarRegua(c){clearTimeout(alterarRegua.timer);var b=jQuery("#banner_regua object");var a=15;if(Math.abs(b.height()-c)<a){b.height(c)}if(b.height()<c){b.height(b.height()+a)}else{if(b.height()>c){b.height(b.height()-a)}else{clearTimeout(alterarRegua.timer);return}}alterarRegua.timer=setTimeout(function(){alterarRegua(c)},50)}function abrirRegulamento(){try{if(!jQuery(".regulamentoLoja").length){var a=document.body.appendChild(document.createElement("div"));var c=getIdLoja();loadXML("/css/regulamentos/$registro.xml?_="+Math.random(),function(){var d=jQuery("loja[id="+c+"]",this).attr("regulamento");if(d){loadXML("/css/regulamentos/"+d+".xml?_="+Math.random(),function(){var e=jQuery("cf-regulamento > div",this)[0];if(e.xml){e=jQuery(e.xml);jQuery(a).replaceWith(e)}else{jQuery(a).replaceWith(e)}abrirRegulamento()})}else{abrirRegulamento.semRegulamento=true}});return}if(!abrirRegulamento.semRegulamento){new Lightbox(jQuery(".regulamentoLoja")[0]).abrir()}}catch(b){alert("Falha ao tentar recuperar o regulamento, desculpe pelo transtorno\nFavor tente mais tarde!")}}function getDepartamentos(){if(document.body.id=="dept_home"||document.body.id=="secao"){var a=[];jQuery("#breadCrumb ul li a").each(function(){a.push(this.innerHTML)});return a}return null}function insideDepartamento(){var g=Array.prototype.slice.call(arguments);var d=getDepartamentos();if(d==null){return false}var f=-1;for(var c=0;c<g.length;c++){var b=g[c].replace(/&/,"&amp;");var a=decodeURIComponent(escape(b));var e=Math.max(d.indexOf(b),d.indexOf(a));if(e>f){f=e}else{return false}}return true}function getContexto(){var c="http://";var b=location.href.indexOf(c);if(b!=-1){var a=location.href.slice(b+c.length).split("/");if(a.length>1){return a[1]}}return false}function encode_utf8(a){return unescape(encodeURIComponent(a))}function decode_utf8(a){return decodeURIComponent(escape(a))}var url=window.location.pathname;if(getIdLoja()=="59"||getIdLoja()=="684"){if(jQuery.browser.msie&&parseInt(jQuery.browser.version)==7){}else{var boxMidiasSociais='<div class="box"><strong class="departamentos">Compartilhe:</strong><ul class="sub_items"><h2 class="firstItem"><li><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fpt-br.facebook.com%2Fcomprafacil&send=false&layout=button_count&width=50&locale=pt_BR&font=verdana&show_faces=false&action=like&colorscheme=light&height=21&appId=261278927260272" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:60px; height:21px; margin-left: 10px; margin-right: 10px; margin-top: -1px;" allowTransparency="true"></iframe><div style="zoom:1;display:inline-block;*display:inline"><div class="g-plusone" data-annotation="none"></div></div></h2></ul></div>';jQuery("#left").prepend(boxMidiasSociais);var compartilharMidiasSociais='<ul id="compartilhar" class="selosList novo"><li><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fpt-br.facebook.com%2Fcomprafacil&send=false&layout=button_count&width=90&locale=pt_BR&font=verdana&show_faces=false&action=like&colorscheme=light&font&height=21&appId=169879293094577" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:110px; height:21px;" allowTransparency="true"></iframe></li><li><a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.comprafacil.com.br" data-via="sigacomprafacil">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");<\/script></li><li><div class="g-plusone" data-size="medium"></div></li></ul>';
jQuery("#selos").prepend(compartilharMidiasSociais);jQuery.getScript("https://apis.google.com/js/plusone.js")}}url=window.location.pathname;if(getIdLoja()=="59"){jQuery(function(){jQuery("#right .banner_halfsky").each(function(a){jQuery(this).click(function(){var c=jQuery(this).find("img"),b,e,d;if(!c.length){c=jQuery(this).find("object");b=c.attr("data");e=b.split("/").pop().split(".")[0]}else{b=c.attr("src");e=b.split("/").pop().split(".")[0]}nomeId=jQuery("body").attr("id");nomeClass=jQuery("body").attr("class");_gaq.push(["_trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Direita","Banner Halfsky - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Direita","Banner Halfsky - "+e]);_gaq.push(["_trackEvent","Loja 59 - Banners Cliques","Direita","Banner Halfsky - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - Banners Cliques","Direita","Banner Halfsky - "+e])})});jQuery("#right .banner_botao").each(function(a){jQuery(this).click(function(){var c=jQuery(this).find("img"),b,e,d;if(!c.length){c=jQuery(this).find("object");b=c.attr("data");e=b.split("/").pop().split(".")[0]}else{b=c.attr("src");e=b.split("/").pop().split(".")[0]}nomeId=jQuery("body").attr("id");nomeClass=jQuery("body").attr("class");_gaq.push(["_trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Direita","Banner Botao - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Direita","Banner Botao - "+e]);_gaq.push(["_trackEvent","Loja 59 - Banners Cliques","Direita","Banner Botao - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - Banners Cliques","Direita","Banner Botao - "+e])})});jQuery("#left .banner_halfsky").each(function(a){jQuery(this).click(function(){var c=jQuery(this).find("img"),b,e,d;if(!c.length){c=jQuery(this).find("object");b=c.attr("data");e=b.split("/").pop().split(".")[0]}else{b=c.attr("src");e=b.split("/").pop().split(".")[0]}nomeId=jQuery("body").attr("id");nomeClass=jQuery("body").attr("class");_gaq.push(["_trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Esquerda","Banner Halfsky - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Esquerda","Banner Halfsky - "+e]);_gaq.push(["_trackEvent","Loja 59 - Banners Cliques","Esquerda","Banner Halfsky - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - Banners Cliques","Esquerda","Banner Halfsky - "+e])})});jQuery("#left .banner_botao").each(function(a){jQuery(this).click(function(){var c=jQuery(this).find("img"),b,e,d;if(!c.length){c=jQuery(this).find("object");b=c.attr("data");e=b.split("/").pop().split(".")[0]}else{b=c.attr("src");e=b.split("/").pop().split(".")[0]}nomeId=jQuery("body").attr("id");nomeClass=jQuery("body").attr("class");_gaq.push(["_trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Esquerda","Banner Botao - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Esquerda","Banner Botao - "+e]);_gaq.push(["_trackEvent","Loja 59 - Banners Cliques","Esquerda","Banner Botao - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - Banners Cliques","Esquerda","Banner Botao - "+e])})});jQuery("#banner_flash").each(function(a){jQuery(this).click(function(){var c=jQuery(this).find("img"),b,e,d;if(!c.length){c=jQuery(this).find("object");b=c.attr("data");e=b.split("/").pop().split(".")[0]}else{b=c.attr("src");e=b.split("/").pop().split(".")[0]}nomeId=jQuery("body").attr("id");nomeClass=jQuery("body").attr("class");_gaq.push(["_trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Flash Principal","Banner Flash - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Flash Principal","Banner Flash - "+e]);_gaq.push(["_trackEvent","Loja 59 - Banners Cliques","Flash Principal","Banner Flash - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - Banners Cliques","Flash Principal","Banner Flash - "+e])})});jQuery("#banner_regua").each(function(a){jQuery(this).click(function(){var c=jQuery(this).find("img"),b,e,d;
if(!c.length){c=jQuery(this).find("object");b=c.attr("data");e=b.split("/").pop().split(".")[0]}else{b=c.attr("src");e=b.split("/").pop().split(".")[0]}nomeId=jQuery("body").attr("id");nomeClass=jQuery("body").attr("class");_gaq.push(["_trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Regua","Banner Regua - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Regua","Banner Regua - "+e]);_gaq.push(["_trackEvent","Loja 59 - Banners Cliques","Regua","Banner Regua - "+e]);_gaq.push(["m2._trackEvent","Loja 59 - Banners Cliques","Regua","Banner Regua - "+e])})});jQuery(".banner_footer").click(function(){var b=jQuery(this).find("img"),a,d,c;if(!b.length){b=jQuery(this).find("object");a=b.attr("data");d=a.split("/").pop().split(".")[0]}else{a=b.attr("src");d=a.split("/").pop().split(".")[0]}nomeId=jQuery("body").attr("id");nomeClass=jQuery("body").attr("class");_gaq.push(["_trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Footer","Banner Footer - "+d]);_gaq.push(["m2._trackEvent","Loja 59 - "+nomeId+" - "+nomeClass+" - Banners Cliques","Footer","Banner Footer - "+d]);_gaq.push(["_trackEvent","Loja 59 - Banners Cliques","Footer","Banner Footer - "+d]);_gaq.push(["m2._trackEvent","Loja 59 - Banners Cliques","Footer","Banner Footer - "+d])})})}url=window.location.pathname;if(getIdLoja()=="59"||getIdLoja()=="684"){jQuery(function(){jQuery("#userNav .codigo-promocional .selosHeader").prepend('<li class="troca-devolucao"><a href="#">Troca e Devolu&ccedil;&atilde;o</a></li>');jQuery("body").append('<div id="lightbox-troca-devolucao" class="lightbox-troca-devolucao divBox lightbox">	<div class="divBoxTitulo">		<p></p>	</div>	<div class="divBoxBody">		<div class="dados">			<ul>				<div class="msg_erro">					<div class="b-troca-devolucao">						<div class="title">Troca e Devolu&ccedil;&atilde;o</div>						<div class="seta"></div>						<p>EM TODOS OS CASOS DESCRITOS ABAIXO, VOC&Ecirc; DEVE ENTRAR EM CONTATO CONOSCO PELO ATENDIMENTO VIA CHAT OU LIGAR PARA NOSSA CENTRAL DE ATENDIMENTO ATRAV&Eacute;S DOS TELEFONES (21) 2125-7000 / (11) 3595-7000</p>						<h3>Devolu&ccedil;&atilde;o de Compra</h3>												<p>Voc&ecirc; deve entrar em contato em at&eacute; 7 dias corridos para comunicar o problema. O produto, junto com seus acess&oacute;rios, deve ser devolvido na caixa, com a nota fiscal, sem ind&iacute;cios de uso e sem viola&ccedil;&atilde;o do lacre do fabricante. Voc&ecirc; pode optar por receber um vale-presente no valor do produto ou pela restitui&ccedil;&atilde;o do seu dinheiro. N&atilde;o fazemos troca de brindes.</p>						<a href="http://comprafacil.neoassist.com/?action=answer&id=1077919&match_number=1&question=Devolu%E7%E3o+de+compra&cat=201177"class="btn-sb" title="Saiba mais">Saiba mais</a>												<h3>Pol&iacute;tica de Troca</h3>						<p><strong>Produto com defeito:</strong> Voc&ecirc; deve entrar em contato em at&eacute; 7 dias corridos, a partir da data de recebimento. Se o defeito n&atilde;o for identificado ou se houver ind&iacute;cios de m&aacute; utiliza&ccedil;&atilde;o do produto, este ser&aacute; devolvido ao cliente. Caso o defeito ocorra depois dos 7 dias, verifique a garantia do fabricante e entre em contato com ele.</p>						<p><strong>Avaria ou diverg&ecirc;ncia na entrega:</strong> Caso perceba qualquer tipo de avaria no ato do recebimento do produto, recuse a entrega e entre em contato conosco em at&eacute; 24 horas. Se ap&oacute;s o recebimento voc&ecirc; abrir a caixa e verificar que o produto est&aacute; com defeito ou que voc&ecirc; n&atilde;o recebeu o mesmo produto que pediu, entre em contato dentro do mesmo prazo.</p>						<p><strong>Desist&ecirc;ncia:</strong> Voc&ecirc; pode desistir da sua compra ap&oacute;s o recebimento da mesma. Fale com a nossa central de atendimento e fa&ccedil;a o procedimento padr&atilde;o de devolu&ccedil;&atilde;o.</p>						<p><strong>Em todos estes casos acima, voc&ecirc; poder&aacute; optar pelo recebimento de um vale-troca ou ser restitu&iacute;do do valor integral da compra.</strong></p>						<a href="http://comprafacil.neoassist.com/?action=answer&id=1077911&match_number=2&question=Pol%EDtica+de+Troca&cat=201177"class="btn-sb" title="Saiba mais">Saiba mais</a>												<h3>Restitui&ccedil;&atilde;o de Valores</h3>						<p>A restitui&ccedil;&atilde;o &eacute; feita ap&oacute;s a chegada do produto no centro de distribui&ccedil;&atilde;o. Se voc&ecirc; pagou a compra com cart&atilde;o de cr&eacute;dito, a restitui&ccedil;&atilde;o ser&aacute; em at&eacute; 2 faturas, ap&oacute;s a data da solicita&ccedil;&atilde;o do estorno (devido &agrave; pol&iacute;tica da administradora do cart&atilde;o). Caso tenha pagado por boleto banc&aacute;rio ou d&eacute;bito em conta, o cr&eacute;dito ser&aacute; depositado na sua conta em at&eacute; 10 dias &uacute;teis.</p>						<a href="http://comprafacil.neoassist.com/?action=answer&id=1077913&match_number=3&question=Restitui%E7%E3o+de+valores+&cat=201177"class="btn-sb" title="Saiba mais">Saiba mais</a>												<h3>Entrega Faltando Pe&ccedil;as</h3>						<p>Neste caso, o contato deve ser feito em at&eacute; 24 horas, comunicando sobre o ocorrido. O produto e seus acess&oacute;rios devem ser devolvidos na caixa, com a nota fiscal, sem ind&iacute;cios de uso e sem viola&ccedil;&atilde;o do lacre do fabricante.</p>						<a href="http://comprafacil.neoassist.com/?action=answer&id=1077915&match_number=4&question=Entrega+faltando+pe%E7as&cat=201177"class="btn-sb" title="Saiba mais">Saiba mais</a>												<br /><br /><br />												<p>ENTRE EM CONTATO CONOSCO PELO ATENDIMENTO VIA CHAT OU LIGUE PARA NOSSA CENTRAL DE ATENDIMENTO ATRAV&Eacute;S DOS TELEFONES (21) 2125-7000 / (11) 3595-7000</p>					</div>				</div>			</ul>		</div>		<a href="#" class="fechar"><span>Fechar</span></a>	</div>	<div class="divBoxBottom">		<span></span>	</div></div>');
jQuery(".troca-devolucao a").click(function(){new Lightbox(jQuery(".lightbox-troca-devolucao")[0]).abrir();return false})})}url=window.location.pathname;if(getIdLoja()=="59"||getIdLoja()=="684"){jQuery(function(){jQuery("#institucional").append(jQuery("#duvidas").children());jQuery("#duvidas").remove();jQuery("#formasPgmto").prepend('<div class="central-atendimento clearfix"><h4>Central de Atendimento:</h4><p class=""><span id="Rodape:L28:cfRodapeNEW:r9"><a href="http://comprafacil.neoassist.com/" tabindex="258" title="Servi�o de Atendimento ao Consumidor"> SAC</a></span><a href="http://comprafacil.neoassist.com/" tabindex="259" title="Fale Conosco"> | Fale Conosco</a></p><h4>Televendas:</h4><p><span>SP (11) 2196-7000</span><span> | Brasil (21) 2515-7000</span></p></div>');jQuery("#centrais").remove();jQuery("#formasPgmto").append('<div class="atendimento-chat clearfix"><img src="http://www.comprafacil.com.br/css/cfWebNew/img/atendimento-chat-icon.jpg" class="atendimento-img"><h4 id="titleAtendimento">Atendimento via Chat</h4><ul id="cent" class="footerList"><li><a onclick="window.open(\'http://www.atendimentosite.com.br/cliente/frm_login.asp?IDArea=4&amp;sel=rodape\',\'chat\', \'width=320, height=450, status=0, scrollbars=0, resizable=0, menubar=0\');" href="#">Acesse nosso chat</a></li></ul></div>');jQuery("#selos").after('<div id="likebox"><iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fpt-br.facebook.com%2Fcomprafacil&amp;width=300&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=true&amp;appId=261278927260272" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:290px;" allowTransparency="true"></iframe></div>')})}jQuery(function(){var a=jQuery('link[href$="global.css"]').attr("href").match(/.*\/(\d+)\/global\.css$/)[1];b("/css/json/"+a+".json?v="+Math.random(),function(p){if(p.status==404){}else{var B=jQuery.parseJSON(p.responseText),r=document.body,n,C=r.id,f,l,u=window.location.host,A,s,d,v,q,e,h,m,c,w,k,z,g,j,y,t,o,x;if(l=B[C]){A=u.substring(0,3);jQuery.each(l,function(D,E){if(E.classPagina===""||jQuery(r).hasClass(E.classPagina)){if(E.producao==1||A==="hml"){entrada=E.dataEntrada.date;saida=E.dataSaida.date;h=entrada.substring(0,4);m=parseInt(entrada.substring(5,7))-1;c=entrada.substring(8,10);w=entrada.substring(11,13);k=entrada.substring(14,16);z=entrada.substring(17,19);g=saida.substring(0,4);j=parseInt(saida.substring(5,7))-1;y=saida.substring(8,10);t=saida.substring(11,13);o=saida.substring(14,16);x=saida.substring(17,19);n=new Date();q=new Date(h,m,c,w,k,z);e=new Date(g,j,y,t,o,x);if(n>=q&&n<e){s='<div id="banner_dhtml" style="left: 50%; margin-left: -'+Math.round(parseInt(E.largura)/2)+'px">';s+='<object width="'+E.largura+'" height="'+E.altura+'" data="http://'+u+"/css/"+a+"/img/"+E.swf+'" type="application/x-shockwave-flash"><param value="comprafacil.com.br" name="allowScriptAccess"/><param value="http://'+u+"/css/"+a+"/img/"+E.swf+'" name="movie"/><param value="high" name="quality"/><param value="transparent" name="wmode"/><param value="0" name="menu"/></object>';s+="</div>";jQuery(r).prepend(s);return false}}}})}}});function b(f,l){var k;if(typeof XMLHttpRequest!=="undefined"){k=new XMLHttpRequest()}else{var d=["MSXML2.XmlHttp.5.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.2.0","Microsoft.XmlHttp"];for(var g=0,c=d.length;g<c;g++){try{k=new ActiveXObject(d[g]);break}catch(h){}}}k.onreadystatechange=j;function j(){if(k.readyState===4){l(k)}}k.open("GET",f,true);k.send("")}(function(){b("/css/puxa-puxa/"+a+".json?v="+Math.random(),function(h){if(h.status==404){return}else{var g=jQuery.parseJSON(h.responseText),d="";jQuery.each(g,function(p,k){var j=k.data_entrada.match(/(\d+)-(\d+)-(\d+) (\d+):(\d+):(\d+)/),l=new Date(j[1],parseInt(j[2],10)-1,j[3],j[4],j[5],j[6]),o=k.data_saida.match(/(\d+)-(\d+)-(\d+) (\d+):(\d+):(\d+)/),n=new Date(o[1],parseInt(o[2],10)-1,o[3],o[4],o[5],o[6]),u=new Date(),q=k.imagens_regua.length,m=q,t="",v,s="",r="";
if(u>=l&&u<n){d+='<div class="banner_regua_inside">';if(0!==q){d+='<div class="banner-regua-images-wrapper">'}for(;m>0;m--){s="background: "+k.imagens_regua[m-1]["cor_primaria"]+";";s+="background: -moz-linear-gradient(top, "+k.imagens_regua[m-1]["cor_primaria"]+" 0%, "+k.imagens_regua[m-1]["cor_secundaria"]+" 100%);";s+="background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,"+k.imagens_regua[m-1]["cor_primaria"]+"), color-stop(100%,"+k.imagens_regua[m-1]["cor_secundaria"]+"));";s+="background: -webkit-linear-gradient(top, "+k.imagens_regua[m-1]["cor_primaria"]+" 0%,"+k.imagens_regua[m-1]["cor_secundaria"]+" 100%);";s+="background: -o-linear-gradient(top, "+k.imagens_regua[m-1]["cor_primaria"]+" 0%,"+k.imagens_regua[m-1]["cor_secundaria"]+" 100%);";s+="background: -ms-linear-gradient(top, "+k.imagens_regua[m-1]["cor_primaria"]+" 0%,"+k.imagens_regua[m-1]["cor_secundaria"]+" 100%);";s+="background: linear-gradient(top, "+k.imagens_regua[m-1]["cor_primaria"]+" 0%,"+k.imagens_regua[m-1]["cor_secundaria"]+" 100%);";s+="filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='"+k.imagens_regua[m-1]["cor_primaria"]+"', endColorstr='"+k.imagens_regua[m-1]["cor_secundaria"]+"',GradientType=0 );";r=k.imagens_regua[m-1]["link"];if(m===2){d+='<div class="banner-regua-imagem secundario"  style="'+s+'"   >'}else{if(1===q){d+='<div class="banner-regua-imagem" style="top:0;'+s+'">'}else{d+='<div class="banner-regua-imagem"  style="'+s+'"  >'}}d+='<div class="banner-regua-min-width">';if(""!==r){d+='<a href="'+r+'" class="banner-regua">'}d+='<img src="'+k.imagens_regua[m-1]["img"]+'" alt="" />';if(""!==r){d+="</a>"}if("1"===k.exibir_regulamento){d+='<a href="#" class="banner-regua-regulamento">* Confira o regulamento</a>'}d+="</div>";d+="</div>"}if(0!==q){d+="</div>"}s="background: "+k.cor_primaria+";";s+="background: -moz-linear-gradient(top, "+k.cor_primaria+" 0%, "+k.cor_secundaria+" 100%);";s+="background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,"+k.cor_primaria+"), color-stop(100%,"+k.cor_secundaria+"));";s+="background: -webkit-linear-gradient(top, "+k.cor_primaria+" 0%,"+k.cor_secundaria+" 100%);";s+="background: -o-linear-gradient(top, "+k.cor_primaria+" 0%,"+k.cor_secundaria+" 100%);";s+="background: -ms-linear-gradient(top, "+k.cor_primaria+" 0%,"+k.cor_secundaria+" 100%);";s+="background: linear-gradient(top, "+k.cor_primaria+" 0%,"+k.cor_secundaria+" 100%);";s+="filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='"+k.cor_primaria+"', endColorstr='"+k.cor_secundaria+"',GradientType=0 );";d+='<div id="wrapper-puxa-puxa"><div id="puxa-puxa" style="'+s+'"><div class="meio-puxa-puxa"><span class="puxa-puxa-titulo">'+k.titulo+'</span><a href="'+k.link+'"><img src="'+k.imagem_puxa_puxa+'" alt="" /></a></div><div class="rodape-puxa-puxa"><span class="texto-rodape-1" style="display:none;">Passe o Mouse</span><span class="texto-rodape-2">'+k.info+'<div class="puxa-puxa-preco">'+k.preco+'</div></span><img src="http://hml.comprafacil.com.br/css/puxa-puxa/maozinha.png" alt="" class="puxa-puxa-maozinha"/></div></div></div></div>';return false}});if(!jQuery("#banner_regua").length){d='<div id="banner_regua" >'+d+"</div>";jQuery("#cfFormMenu").after(d)}else{jQuery("#banner_regua").html(d)}jQuery("#banner_regua").delegate(".banner-regua-regulamento","click",function(){abrirRegulamento();return false});jQuery("#puxa-puxa").hover(function(){jQuery("#wrapper-puxa-puxa").css({height:"210"});jQuery(this).animate({marginTop:"140"},{duration:500,queue:false})},function(){jQuery(this).animate({marginTop:"0"},{duration:500,queue:false},function(){jQuery("#wrapper-puxa-puxa").css({height:"55"})})});(function e(){jQuery("#puxa-puxa").animate({top:"+=5"},300,function(){jQuery("#puxa-puxa").animate({top:"-=5"},300,e())})})();(function c(){jQuery("#puxa-puxa .texto-rodape-1").fadeOut("normal",function(){jQuery("#puxa-puxa .texto-rodape-2").fadeIn().delay("800").fadeOut("normal",function(){jQuery("#puxa-puxa .texto-rodape-1").fadeIn("normal",function(){setTimeout(c,1000)
})})})})();(function f(){var j=jQuery("#banner_regua").find(".banner-regua-imagem");if(j.length>1){j.css("top",-45).delay(5000).animate({top:0},300).delay(4000).animate({top:-45},300,f)}})()}})}())});
