var javascript_cached = true;var site_lang="pt_BR";var cfg_URL="http://www.bolsademulher.com";var cfg_IMAGEM="http://img.bdm.bdmcdn.net";var cfg_PESSOAL="http://minha.bolsademulher.com/";var cfg_URL_ESTATICO="http://www.bdm.bdmcdn.net";var cfg_IMAGEM_ESTATICO="http://img.bdm.bdmcdn.net";if(typeof BDM=="undefined"||!BDM){var BDM={}}BDM.namespace=function(){var b=arguments,g=null,e,c,f;for(e=0;e<b.length;e=e+1){f=b[e].split(".");g=BDM;for(c=(f[0]=="BDM")?1:0;c<f.length;c=c+1){g[f[c]]=g[f[c]]||{};g=g[f[c]]}}return g};BDM.EMAIL_REGEX=/^([^<>()[\]\\.,;:\s@'"]+(?:\.[^<>()[\]\\.,;:\s@']+)*)@((?:[a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,})$/;BDM.FULL_EMAIL_NAME_REGEX=/^(?:(?:'|")?([^"'@]*)(?:'|")?\s+)?<?([^<>()[\]\\.,;:\s@'"]+(?:\.[^<>()[\]\\.,;:\s@']+)*)@((?:[a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,})>?$/;BDM.namespace("util");BDM.util._loadDocumentInfo=function _loadDocumentInfo(){var c,a;if(window.innerHeight&&window.scrollMaxY){c=document.body.scrollWidth;a=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){c=document.body.scrollWidth;a=document.body.scrollHeight}else{c=document.body.offsetWidth;a=document.body.offsetHeight}}var b,d;if(self.innerHeight){b=self.innerWidth;d=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){b=document.documentElement.clientWidth;d=document.documentElement.clientHeight}else{if(document.body){b=document.body.clientWidth;d=document.body.clientHeight}}}if(a<d){pageHeight=d}else{pageHeight=a}if(c<b){pageWidth=b}else{pageWidth=c}BDM.util.pageDimensions={};BDM.util.pageDimensions.page={width:pageWidth,height:pageHeight};BDM.util.pageDimensions.viewport={width:b,height:d}};BDM.namespace("widget");BDM.widget.modalMask=Class.create({initialize:function(){this.elMask=$("bdm-modal-mask");this.elMaskIframe=$("bdm-modal-mask-iframe-shim");if(typeof this.elMask=="undefined"||!this.elMask){this.create()}else{this.show()}},create:function(){this.elMask=new Element("div",{id:"bdm-modal-mask"}).setStyle({position:"absolute",top:"0",left:"0",backgroundColor:"#000",height:BDM.util.pageDimensions.page.height+"px",width:"100%",zIndex:99,opacity:0});document.body.insertBefore(this.elMask,$(document.body).firstDescendant());this.elMask.observe("click",this.hide.bindAsEventListener(this));this.elMaskIframe=new Element("iframe",{id:"bdm-modal-mask-iframe-shim"}).setStyle({position:"absolute",border:"0",top:"0",left:"0",margin:"0",padding:"0",backgroundColor:"#000",height:BDM.util.pageDimensions.page.height+"px",width:"100%",zIndex:98,opacity:0});document.body.insertBefore(this.elMaskIframe,$(document.body).firstDescendant());new Effect.Opacity(this.elMask,{from:0,to:0.5,duration:0.5})},destroy:function(){this.elMaskIframe.remove();this.elMask.remove()},hide:function(){new Effect.Opacity(this.elMask,{from:0.5,to:0,duration:0.5});this.elMaskIframe.hide();this.elMask.hide()},show:function(){this.elMask.setOpacity(0);this.elMask.show();new Effect.Opacity(this.elMask,{from:0,to:0.5,duration:0.5});this.elMaskIframe.show()}});BDM.widget.Panel=Class.create({initialize:function(b,a){if(typeof a=="undefined"||!a){a={}}this.elContainer=$(b);this.options={};this.options.width=a.width||"300px";this.options.height=a.height||"300px";this.options.modal=a.modal||true;this.options.close=a.close||true;var l=getPageSize();var k=Math.floor(l[3]/2-parseInt(this.options.height)/2+(isAll?document.body.scrollTop:0));var h=Math.floor(l[2]/2-parseInt(this.options.width)/2);if(!this.elContainer){this.elContainer=new Element("div",{id:b})}$(document.body).insert({top:this.elContainer});var c=new Navegador();if(!c.IE||(c.IE&&parseInt(c.versao)>="7")){this.Sombra=new Element("IMG",{src:cfg_IMAGEM+"/layout/v2/sombra.png",id:"Sombra"}).setStyle({position:(isAll?"absolute":"fixed"),zIndex:100,width:parseInt(this.options.width)+70+"px",height:parseInt(this.options.height)+70+"px",left:h-15+"px",top:k+15+"px",opacity:1});this.Sombra.show();this.elContainer.insert({before:this.Sombra})}this.elContainer.setStyle({position:(isAll?"absolute":"fixed"),backgroundColor:"#FFF",height:this.options.height,width:this.options.width,zIndex:101,padding:"10px 10px 20px 10px",border:"3px solid #fd2e9e",borderRadius:"2em",MozBorderRadius:"2em",KhtmlBorderRadius:"2em",WebkitBorderRadius:"2em",top:k+"px",left:h+"px",opacity:1});this.elContainer.show();if(this.options.close){var e=this.elContainer.select("div.hd")[0];e.setStyle({marginRight:"30px"});var d=new Element("div").setStyle({position:"relative"});var g=new Element("a",{href:"#"}).observe("click",this.hide.bindAsEventListener(this));var f=new Element("img",{src:cfg_IMAGEM+"/layout/cancerdemama/bt_fechar.gif"}).setStyle({position:"absolute",right:"-20px",top:"-20px"});g.appendChild(f);d.appendChild(g);e.insert({before:d})}if(this.options.modal){this.mask=new BDM.widget.modalMask();this.mask.elMask.observe("click",this.hide.bindAsEventListener(this));this.mask_is_hidden=false}if(!c.IE||(c.IE&&parseInt(c.versao)>="7")){$(document.body).insert(this.Sombra,{position:"top"})}this.show()},handleScroll:function(){var a=getPageSize();Element.setStyle(this.elContainer,{top:Math.floor(a[3]/2-parseInt(this.options.height)/2)+15+document.documentElement.scrollTop+"px"})},hide:function(){var a=new Navegador();if(a.IE&&parseInt(a.versao)<"7"){window.detachEvent("onscroll",this.handleScroll.bindAsEventListener(this))}if(!a.IE||(a.IE&&parseInt(a.versao)>="7")){this.Sombra.hide()}this.elContainer.hide();if(this.options.modal&&!this.mask_is_hidden){this.mask.hide()}},show:function(){var a=new Navegador();if(a.IE&&parseInt(a.versao)<"7"){window.attachEvent("onscroll",this.handleScroll.bindAsEventListener(this))}if(this.options.modal&&this.mask_is_hidden){this.mask.show()}this.elContainer.show();if(!a.IE||(a.IE&&parseInt(a.versao)>="7")){this.Sombra.show()}},setHeader:function(a){this.elContainer.select("div.hd").item(0).update(a)},setBody:function(a){this.elContainer.select("div.bd").item(0).update(a)}});BDM.namespace("cfg.server");BDM.cfg.lang=site_lang,BDM.cfg.server={url:cfg_URL,stat:cfg_IMAGEM,minha:cfg_PESSOAL};document.observe("dom:loaded",BDM.util._loadDocumentInfo);window.name="PortalBolsa";var isDHTML=false;var isID=document.getElementById;var isAll=document.all;var isLayer=document.layers;var isIE=false;if(isID||isAll||(parseInt(navigator.appVersion)==4&&navigator.appName.indexOf("Netscape")!=-1)&&isLayer){isDHTML=true}document.onselectstart="return false";var timestamp=new Date().getTime();var BMAd_polite_banner="0";_IJS();function TextoMateria(a){if(Estilo("TextoMateria").fontSize==""){Estilo("TextoMateria").fontSize="12px"}switch(a){case"+":Estilo("TextoMateria").fontSize=parseInt(Estilo("TextoMateria").fontSize)+1+"px";Estilo("TextoMateria").lineHeight=parseInt(Estilo("TextoMateria").fontSize)/11;break;case"-":Estilo("TextoMateria").fontSize=parseInt(Estilo("TextoMateria").fontSize)-1+"px";Estilo("TextoMateria").lineHeight=parseInt(Estilo("TextoMateria").fontSize)/11;break;default:Estilo("TextoMateria").fontSize=a+"px";Estilo("TextoMateria").lineHeight=1.5;break}}var SeletorAntigo=1;var ZapId="";var TempoZap=20*1000;function TrocaCanal(b,a){clearTimeout(ZapId);Estilo("Seletor_"+b).display="block";Estilo("Texto_Sel_"+b).display="block";Estilo("Seletor_"+SeletorAntigo).zIndex=0;Estilo("Seletor_"+b).zIndex=1;Estilo("Texto_Sel_"+SeletorAntigo).zIndex=0;Estilo("Texto_Sel_"+b).zIndex=1;FadeIn("Seletor_"+b,60);setTimeout("Estilo('Seletor_"+SeletorAntigo+"').display = 'none'",1000);SeletorAntigo=b;ZapId=setTimeout("Zap("+(b+1)+")",TempoZap)}function afr(b,a){pAJAX(a);FadeOut(b,90,true)}function getCookie(c){var b=document.cookie;var e=c+"=";var d=b.indexOf("; "+e);if(d==-1){d=b.indexOf(e);if(d!=0){return null}}else{d+=2}var a=document.cookie.indexOf(";",d);if(a==-1){a=b.length}return unescape(b.substring(d+e.length,a))}function setCookie(c,d,f){var b=new Date();var a=";path=/";b.setTime(b.getTime());expires=7*60*60*24;var e=new Date(b.getTime()+(expires));if(f!=null){a=";path="+f}document.cookie=c+"="+escape(d)+";expires="+e.toGMTString()+a}function _cTexto(a){pAJAX(cfg_URL+"/materia/PegaTexto.php?vl="+a,"<SCRIPT>")}var TimeoutEtc=false;function etcetera(a){if(a%4==1){Objeto("Metc").innerHTML="."}if(a%4==2){Objeto("Metc").innerHTML=".."}if(a%4==3){Objeto("Metc").innerHTML="..."}if(a%4==0){Objeto("Metc").innerHTML="&nbsp;"}a++;TimeoutEtc=setTimeout("etcetera("+a+")",200)}function _favoritar(b){var a=b.substring(0,1);var c=b.substring(1,b.length);switch(a){case"M":pAJAX(cfg_URL+"/AJAX/favorita.php?id_materia="+c+"&tipo="+a,"FavMateria");break;case"F":pAJAX(cfg_URL+"/AJAX/favorita.php?id_forum="+c+"&tipo="+a,"FavForum");break}}function _denunciar(b){var a=b.substring(0,1);var c=b.substring(1,b.length);switch(a){case"F":pAJAX(cfg_URL+"/AJAX/denuncia.php?id_forum="+c+"&tipo="+a,"DenForum");break}}var renewtime=timestamp;function _renew(){if(renewtime<time()-600000){AJAX(cfg_URL+"/AJAX/live.php");renewtime=time()}}function _addContato(g,f){var c=g.href.split("/");var a="adcionar";transparencia=_DinD();Estilo(transparencia).position="absolute";Estilo(transparencia).top="0px";Estilo(transparencia).left="0px";Estilo(transparencia).backgroundColor="#000";Estilo(transparencia).height=(isAll?document.body.scrollHeight:document.body.offsetHeight)+"px";Estilo(transparencia).width="100%";Estilo(transparencia).zIndex=100;FadeIn(transparencia,[0,50]);caixa=_DinD();Estilo(caixa).position=(isAll?"absolute":"fixed");Estilo(caixa).backgroundColor="#FFF";Estilo(caixa).height="240px";Estilo(caixa).width="320px";Estilo(caixa).top=document.body.clientHeight/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0)+"px";Estilo(caixa).left=document.body.offsetWidth/2-parseInt(Estilo(caixa).width)/2+"px";Estilo(caixa).zIndex=101;Estilo(caixa).padding="20px";Estilo(caixa).border="3px solid #fd2e9e";Estilo(caixa).borderRadius="2em";Estilo(caixa).MozBorderRadius="2em";Estilo(caixa).KhtmlBorderRadius="2em";Estilo(caixa).backgroundImage="url("+cfg_IMAGEM+"/layout/v2/fundo_caixa-resposta.jpg)";Estilo(caixa).backgroundRepeat="repeat-x";Estilo(caixa).backgroundPosition="0 20px";var d=Objeto(f).getElementsByTagName("A").item(0).innerHTML;var b=Objeto(f).getElementsByTagName("A").item(1).innerHTML;var e="Elemento('BODY').removeChild(Objeto(transparencia));Elemento('BODY').removeChild(Objeto(caixa))";if(g.innerHTML=="adicione como favorito"){var h=d+'<BR /><BR />&nbsp;&nbsp;<span class="TexCor2">'+dic_js.voceiraadd+" "+b+" "+dic_js.asualistade+" <B>"+dic_js.favoritos+"</B>.</span><BR/><BR/><BR/><BR/>";h+='<div style="padding-left:50px">'+dic_js.podetambem+" "+b+" "+dic_js.asualistade+" <em>"+dic_js.amigas+"</em>.<BR/><BR/>";h+='<input type="checkbox" name="amigo" value="S" id="famigo" style="padding-left:10px"> '+dic_js.addcomoamiga+"<BR/><BR/><BR/>"}else{var h=d+'<BR /><BR />&nbsp;&nbsp;<span class="TexCor2">'+b+" "+dic_js.janalista+" <B>"+dic_js.favoritos+"</B>.</span><BR/><BR/><BR/><BR/>";h+='<div style="padding-left:50px"><BR />'+dic_js.Vocequer+" <B>"+dic_js.remover+"</B> "+b+" "+dic_js.dalistafavoritos+"<BR/><BR/><BR /><BR />";a="remover"}h+="<BR/><input type=button value="+dic_js.ok+" class=BotaoBranco onClick=\"pAJAX(cfg_URL + '/AJAX/favorita.php?pessoa="+c[3]+"&amigo="+(a=="adicionar"?"'+(Objeto('famigo').checked==true ? Objeto('famigo').value : '')+'":"N")+"&tipo=FP','"+f.replace("r","c")+"');"+e+'" /> <input type=button value='+dic_js.ok+' class=BotaoBranco onClick="'+e+'" /></div>';Objeto(caixa).innerHTML=h;return false}function verimagem(b,c,a,f){transparencia=_DinD();Estilo(transparencia).position="absolute";Estilo(transparencia).top="0px";Estilo(transparencia).left="0px";Estilo(transparencia).backgroundColor="#000";Estilo(transparencia).height=(isAll?document.body.scrollHeight:document.body.offsetHeight)+"px";Estilo(transparencia).width="100%";Estilo(transparencia).zIndex=100;FadeIn(transparencia,[0,50]);caixa=_DinD();var e=new Image();e=b;Estilo(caixa).position=(isAll?"absolute":"fixed");Estilo(caixa).backgroundColor="#FEFEFE";Estilo(caixa).height=(f=="null"?e.height:f)+20+"px";Estilo(caixa).width=(a=="null"?e.width:a)+20+"px";Estilo(caixa).top=document.body.clientHeight/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0)+"px";Estilo(caixa).left=document.body.offsetWidth/2-parseInt(Estilo(caixa).width)/2+"px";Estilo(caixa).zIndex=101;Estilo(caixa).padding="20px";Estilo(caixa).border="5px solid black";var d="<a href='javascript:void(1)' onClick='Elemento(\"BODY\").removeChild(Objeto(transparencia));Elemento(\"BODY\").removeChild(Objeto(caixa))'><img src='"+b+"' alt='"+dic_js.fechar+"' border=0 /></a>";Objeto(caixa).innerHTML=d;return void (0)}function _InserirTemas(b,c,a){document.write("<script>var InserirTemasVO='"+b+"';");document.write("var InserirTemasVI='"+c+"';");document.write("var InserirTemasVD='"+a+"';<\/script>");document.write("<a href='javascript:void(1)' onclick='this.style.display=\"none\";Estilo(\"InserirTemasF\").display=\"block\";return false' id='InserirTemasA' class=TexCor12>"+dic_js.Addtema+"</a>");document.writeln("<div id='InserirTemasF' style='display:none;text-transform:none'><input type='text' name='InserirTemasT' id='InserirTemasT'><BR/><input type='button' class='BotaoBranco' value='"+dic_js.enviar+'\' onclick=\'pAJAX(cfg_URL+"/AJAX/tema.ajax.php?tema="+escape(Objeto("InserirTemasT").value)+"&dst="+InserirTemasVD+"&obj="+InserirTemasVO+"&id="+InserirTemasVI,"<SCRIPT>")\'><BR/><BR/>'+dic_js.DicaAddTema+"</div>")}function _InserirTemasEstilo(b,c,a){document.write("<script>var InserirTemasVO='"+b+"';");document.write("var InserirTemasVI='"+c+"';");document.write("var InserirTemasVD='"+a+"';<\/script>");document.write("<a href='javascript:void(1)' onclick='this.style.display=\"none\";Estilo(\"InserirTemasF\").display=\"block\";return false' id='InserirTemasA' class=TexCor12>"+dic_js.Addtema+"</a>");document.writeln("<div id='InserirTemasF' style='display:none;text-transform:none'><input type='text' name='InserirTemasT' id='InserirTemasT'><BR/><input type='button' class='BotaoBranco' value='"+dic_js.enviar+'\' onclick=\'pAJAX(cfg_URL+"/AJAX/tema.ajax.estilo.php?tema="+escape(Objeto("InserirTemasT").value)+"&dst="+InserirTemasVD+"&obj="+InserirTemasVO+"&id="+InserirTemasVI,"<SCRIPT>")\'><BR/><BR/>'+dic_js.DicaAddTema+"</div>")}var _rs=screen.width+"x"+screen.height;var _plt=screen.pixelDepth;var __ubmdata="_rs="+_rs+"&_plt="+_plt;document.writeln('<script src="'+cfg_URL+"/__afericao.php?__ubmdata="+__ubmdata+'"><\/script>');function _IJS(){}function createCookie(c,d,e){if(e){var b=new Date();b.setTime(b.getTime()+(e*24*60*60*1000));var a="; expires="+b.toGMTString()}else{var a=""}document.cookie=c+"="+d+a+"; path=/; domain=bolsademulher.com"}function readCookie(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null}function eraseCookie(a){createCookie(a,"false",-1)}var dic_js={};dic_js.Aguarde="Aguarde...";dic_js.ok="ok";dic_js.cancelar="cancelar";dic_js.voceiraadd="Você irá adcionar";dic_js.asualistade="a sua lista de";dic_js.favoritos="favoritos";dic_js.podetambem="Você pode também adicionar";dic_js.amigas="Amigas";dic_js.addcomoamiga="Adicionar como amiga";dic_js.janalista="já está na sua lista de";dic_js.Vocequer="Você quer";dic_js.remover="remover";dic_js.dalistafavoritos="da sua lista de favoritos?";dic_js.fechar="fechar";dic_js.Addtema="Adicionar novo tema";dic_js.enviar="enviar";dic_js.DicaAddTema='Evite uso de plural. Separe cada tema por espa&ccedil;os; para juntar duas palavras em um tema, use aspas dupla. Ex: casa mesa "banho frio"';dic_js.emailinvalido="Você escreveu um endereço de email inválido, por favor verique e conserte-o.";dic_js.emailsdiferentes="Você escreveu os endereços de emails diferentes, por favor verique e conserte-os.";dic_js.senhasdiferentes="As senhas não conferem. Por favor digite-as novamente";dic_js.cidadeoucep="Por favor, escolha uma cidade ou preencha corretamente seu CEP.";dic_js.escolhalogin="Por favor, escolha um login.";dic_js.insiranome="Por favor, insira seu nome.";dic_js.selecionenascimento="Por favor, selecione corretamente a sua data de nascimento.";dic_js.cep5numeros="Por favor, preencha pelo menos 5 números, ou deixe em branco";dic_js.AGUARDE="AGUARDE";dic_js.verifiquepeso="Verifique o peso informado";dic_js.verifiquealtura="Verifique a altura informada";dic_js.esqueceupergunta="Você esqueceu de responder alguma pergunta.";dic_js.bolsanocelular="bolsa de mulher no seu celular";dic_js.smscusto="O custo é de R$ 0,31 + impostos por notícia.";dic_js.vivere="viver é";dic_js.Para="Para";dic_js.EnviarIMG="vivere/_img/header_enviar_botao.gif";dic_js.Emailvazio="Email está vazio!";dic_js.Nomeamiavazio="Nome da amiga está vazio!";dic_js.Nomevazio="Nome está vazio!";dic_js.Digitarfrase="Você deve digitar uma frase antes de enviar.";dic_js.Preenchernome="Você deve preencher o seu nome e email.";dic_js.Envieamiga="Envie essa frase para sua amiga";dic_js.Preenchacampos="Preencha corretamente os campos abaixo";dic_js.Seunome="Seu nome";dic_js.Nomeamiga="Nome da amiga";dic_js.Emailamiga="Email da amiga";dic_js.enviafraseIMG="vivere/_img/bt_enviar_frase.jpg";dic_js.TextoNegrito="Digite o texto que você queira botar em negrito";dic_js.TextoItalico="Digite o texto que você queira botar em itálico";dic_js.ChamarPagina="Digite o endereço da página que você quer chamar";dic_js.TituloPagina="Agora digite o título da página";dic_js.ChamarImagem="Digite o endereço da imagem que você quer chamar";dic_js.EmailCompleto="Digite o email completo";dic_js.ChamarURL="Digite a URL do vídeo que você quer chamar";dic_js.MencionarUsuaria="Digite o login da usuária que você quer mencionar";dic_js.LoginDisponivel="Login disponivel";dic_js.EmailDisponivel="E-mail disponivel";dic_js.Escolhacidade="Escolha a cidade";dic_js.NenhumaCidade="Nenhuma cidade encontrada";dic_js.CEPNaoEncontrado="CEP não encontrado";dic_js.AceitaTermoUso="Você deve aceitar o termo de uso";function Objeto(a){return isLayer?document.layers[a]:isID?document.getElementById(a):document.all[a]}function Entidade(a){return Objeto(a)}function Estilo(a){return isLayer?Objeto(a):Objeto(a).style}function Elemento(a,b){if(b=="null"){b=0}return document.getElementsByTagName(a).item(b)}function time(){return new Date().getTime()}function ChecaInput(b,c,a){if(a=="null"){a=0}if(a==1){for(i=0;i<b.length;i++){if(!c.test(b.charAt(i))){b=b.replace(b.charAt(i),"")}}return b}else{if(!c.test(b)){return""}else{return b}}}function Telefone(a){if(!ChecaInput(a.substring(a.length-1,a.length),/[0-9]/,1)){return a.substring(0,a.length-1)}a=ChecaInput(a,/[0-9|\-|\(|\)|\ ]/,1);if(a.length==1){a="("+a}if(a.length==3){a=a+") "}if(a.length==9){a=a+"-"}return a}function FormataData(b){var a=b.value;if(a=="ASAP"){return false}if(!ChecaInput(a.substring(a.length-1,a.length),/[0-9]/,1)){return a.substring(0,a.length-1)}data=new Date();ano=data.getFullYear();if(a.substring(0,2)>31){b.value="";return false}else{if(a.substring(3,5)>12){b.value=a.substring(0,3);return false}}a=ChecaInput(a,/[0-9|\/|A|S|P]/,1);a=a.substring(0,2)+(a.length>2?(isNaN(a.charAt(2))?"":"/"):"")+a.substring(2,a.length);a=a.substring(0,5)+(a.length>5?(isNaN(a.charAt(5))?"":"/"):"")+a.substring(5,a.length);b.value=a}function FormataMesAno(b){var a=b.value;if(!ChecaInput(a.substring(a.length-1,a.length),/[0-9]/,1)){return a.substring(0,a.length-1)}a=ChecaInput(a,/[0-9|\/]/,1);a=a.substring(0,2)+(a.length>2?(isNaN(a.charAt(2))?"":"/"):"")+a.substring(2,a.length);b.value=a}function FormataNum(a,c,d,b){if(!ChecaInput(a.substring(a.length-1,a.length),/[0-9]/,1)){return a.substring(0,a.length-1)}if(a.length>=b-d){a=a.replace(c,"");a=a.substring(0,b-d)+c+a.substring(b-d,b)}return a}function FormataDinheiro(a){a=ChecaInput(a,/[0-9|\,]/,1);var b=a.length-1;if(b<1){b=1}a=FormataNum(a,",",2,b);return a}function AlteraSelect(form,valor){form=eval("document.forms."+form);for(i=0;i<form.length;i++){if(form.options[i].value==valor){form.selectedIndex=form.options[i].index}}}function ChecaFraming(a){if(top.frames.length>1){top.location=a}}function _DinF(b,d,f){var e="Form"+Math.random();var a=document.getElementsByTagName("body").item(0);var g=document.createElement("FORM");g.style.display="none";for(i=0;i<b.length;i++){var c=document.createElement("INPUT");c.setAttribute("name",b[i][0]);c.setAttribute("value",b[i][1]);g.appendChild(c)}a.appendChild(g);g.method="post";if(d){g.action=d}if(f){g.target=f}g.submit()}function pHref(a,e){var d=new Array();var b=new Array();a=a.split("?");var c=a[1];c=c.split("&");for(i=0;i<c.length;i++){d=c[i];d=d.split("=");b[i]=new Array(d[0],d[1])}return _DinF(b,a[0],e)}function _DinD(){var c="Div"+(Math.random()*10);c=c.replace(".","");var b=document.createElement("DIV");b.id=c;var a=document.getElementsByTagName("body").item(0);a.appendChild(b);return c}function FadeIn(obj,i,aparecer,inc){if(i.length>0){j=i[1];i=i[0]}else{j=115}if(typeof(inc)=="undefined"){inc=15}if(aparecer==true){Estilo(obj).display="block"}if(isID){Estilo(obj).MozOpacity=eval(i/100);Estilo(obj).KhtmlOpacity=eval(i/100)}if(isAll){Estilo(obj).filter="alpha(opacity="+i+")"}if(i<100&&i+inc<j){setTimeout('FadeIn("'+obj+'",['+eval(i+inc)+","+j+"],10,"+inc+")")}}function FadeOut(obj,i,sumir){fimFade=false;if(sumir=="2"){var novaid="FadeOut"+Math.random();Objeto(obj).id=novaid;obj=novaid;sumir=true}if(i.length>0){j=i[2];i=i[1]}else{j=-15}if(isID){Estilo(obj).MozOpacity=eval(i/100)}if(isAll){Estilo(obj).filter="alpha(opacity="+i+")"}if(i>=0&&i-15>j){setTimeout('FadeOut("'+obj+'",['+eval(i-15)+","+j+"],"+sumir+")",10)}else{if(sumir==true){Estilo(obj).display="none"}}}function ScrollX(f,d,c,b,a){var e=(d<c?a:a*-1);Estilo(f).left=d+e+"px";if(Math.abs(d-c)>1){setTimeout('ScrollX("'+f+'",'+(d+e)+","+c+","+b+","+a+")",b)}}var http_request=false;function AJAX(a,d,c){http_request=false;if(window.XMLHttpRequest){http_request=new XMLHttpRequest();if(http_request.overrideMimeType){http_request.overrideMimeType("text/xml")}}else{if(window.ActiveXObject){try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(g){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(g){}}}}if(!http_request){alert("Abortado: Não trabalhar com XMLHTTP");return false}http_request.onreadystatechange=function(){AJAXretorno(d)};if(c=="POST"){var f=new Array();var b=new Array();a=a.split("?");parametros=a[1];a=a[0]}else{c="GET";parametros=""}http_request.open(c,a,true);http_request.setRequestHeader("Content-Type","application/x-www-form-urlencoded");http_request.send(parametros)}function AJAXretorno(destino){if(http_request.readyState==4){if(http_request.status==200){switch(destino){case"XML":break;case"<SCRIPT>":eval(http_request.responseText);break;default:Objeto(destino).innerHTML=http_request.responseText;break}}else{return false}}else{}}function pAJAX(a,b){AJAX(a,b,"POST")}function MailTo(a){a=a.replace(/:/g,".");a=a.replace(/a/g,"c");a=a.replace(/\*/g,"a");a=a.replace(/¨/g,"e");a=a.replace(/~/g,"@");str=a;a="";for(i=0;i<str.length;i++){a+=(i%2==0?str.substr(i,1):"")}window.location="mailto:"+a.replace("(M)","bolsademulher")}function PosX(a){var b=0;if(a.offsetParent){while(a.offsetParent){b+=a.offsetLeft;a=a.offsetParent}}else{if(a.x){b+=a.x}}return b}function PosY(b){var a=0;if(b.offsetParent){while(b.offsetParent){a+=b.offsetTop;b=b.offsetParent}}else{if(b.y){a+=b.y}}return a}function NicePrompt(e,d,c,h){var b=getPageSize();transparencia=_DinD();Estilo(transparencia).position="absolute";Estilo(transparencia).top="0px";Estilo(transparencia).left="0px";Estilo(transparencia).backgroundColor="#000";Estilo(transparencia).height=(isAll?(self.innerHeight<document.body.scrollHeight?document.body.offsetHeight:self.innerHeight):(self.innerHeight<document.body.scrollHeight?document.body.offsetHeight:self.innerHeight))+"px";Estilo(transparencia).width="100%";Estilo(transparencia).zIndex=100;FadeIn(transparencia,[0,50]);caixa=_DinD();Estilo(caixa).position=(isAll?"absolute":"fixed");Estilo(caixa).backgroundColor="#FFF";Estilo(caixa).height="240px";Estilo(caixa).width="320px";var f=Math.floor(b[3]/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0));Estilo(caixa).top=f+"px";f=Math.floor(b[2]/2-parseInt(Estilo(caixa).width)/2);Estilo(caixa).left=f+"px";Estilo(caixa).zIndex=101;Estilo(caixa).padding="20px";Estilo(caixa).border="3px solid #fd2e9e";Estilo(caixa).borderRadius="2em";Estilo(caixa).MozBorderRadius="2em";Estilo(caixa).KhtmlBorderRadius="2em";id="Input"+(Math.random()*10);id=id.replace(".","");var a="Elemento('BODY').removeChild(Objeto('transparencia'));Elemento('BODY').removeChild(Objeto('caixa'))";if(d=="null"){d=""}var g="<BR />";g+=e;g+="<BR /><BR />";g+='<BR/><input type=input id="'+id+'" value="'+d+'" size=30 />';g+="<BR /><BR />";g+="<div align=center><BR/><input type=button value="+dic_js.ok+' class=BotaoBranco onClick="'+a+';return Objeto(id).value;" />';g+="&nbsp;&nbsp;<input type=button value="+dic_js.cancelar+' class=BotaoBranco onClick="'+a+'" /></div>';Objeto(caixa).innerHTML="<table border=0 width=100% height=100%><td align='center' valign=center>"+g+"</td></table>"}function NiceConfirm(c,b,f){var a=getPageSize();transparencia=_DinD();Estilo(transparencia).position="absolute";Estilo(transparencia).top="0px";Estilo(transparencia).left="0px";Estilo(transparencia).backgroundColor="#000";Estilo(transparencia).height=(isAll?(self.innerHeight<document.body.scrollHeight?document.body.offsetHeight:self.innerHeight):(self.innerHeight<document.body.scrollHeight?document.body.offsetHeight:self.innerHeight))+"px";Estilo(transparencia).width="100%";Estilo(transparencia).zIndex=100;if(f=="null"){}f=50;FadeIn(transparencia,[0,50]);caixa=_DinD();Estilo(caixa).position=(isAll?"absolute":"fixed");Estilo(caixa).backgroundColor="#FFF";Estilo(caixa).height="120px";Estilo(caixa).width="320px";var d=Math.floor(a[3]/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0));Estilo(caixa).top=d+"px";d=Math.floor(a[2]/2-parseInt(Estilo(caixa).width)/2);Estilo(caixa).left=d+"px";Estilo(caixa).zIndex=101;Estilo(caixa).padding="20px";Estilo(caixa).border="3px solid #fd2e9e";Estilo(caixa).borderRadius="2em";Estilo(caixa).MozBorderRadius="2em";Estilo(caixa).KhtmlBorderRadius="2em";id="Input"+(Math.random()*10);id=id.replace(".","");NiceConfirmFechar=new function(){Elemento("BODY").removeChild(Objeto(transparencia));Elemento("BODY").removeChild(Objeto(caixa))};if(b.length<1){b=[null,null]}if(b[0]=="null"){b[0]=true}if(b[1]=="null"){b[1]=false}positivo=new function(){b[0]};negativo=new function(){b[1]};var e="<BR />";e+=c;e+="<BR /><BR /><BR />";e+="<div align=center><BR/><input type=button value="+dic_js.ok+' class=BotaoBranco onClick="NiceTitleFechar();positivo();return true" />';e+="&nbsp;&nbsp;<input type=button value="+dic_js.cancelar+' class=BotaoBranco onClick="NiceTitleFechar();positivo();return false" /></div>';Objeto(caixa).innerHTML="<table border=0 width=100% height=100%><td align='center' valign=center>"+e+"</td></table>"}function NiceAlert(g,d){var a=new Navegador();var c=getPageSize();transparencia=_DinD();Estilo(transparencia).position="absolute";Estilo(transparencia).top="0px";Estilo(transparencia).left="0px";Estilo(transparencia).backgroundColor="#000";Estilo(transparencia).height=c[1]+"px";Estilo(transparencia).width="100%";Estilo(transparencia).zIndex=99;FadeIn(transparencia,[0,50]);caixa=_DinD();Estilo(caixa).position=(isAll?"absolute":"fixed");Estilo(caixa).backgroundColor="#FFF";Estilo(caixa).height="120px";Estilo(caixa).width="320px";var e=Math.floor(c[3]/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0));Estilo(caixa).top=e+"px";e=Math.floor(c[2]/2-parseInt(Estilo(caixa).width)/2);Estilo(caixa).left=e+"px";Estilo(caixa).zIndex=101;Estilo(caixa).padding="20px";Estilo(caixa).border="3px solid #fd2e9e";Estilo(caixa).borderRadius="2em";Estilo(caixa).MozBorderRadius="2em";Estilo(caixa).KhtmlBorderRadius="2em";if(!a.IE){Sombra=document.createElement("IMG");Sombra.src=cfg_IMAGEM+"/layout/v2/sombra.png";Sombra.id="Sombra";Sombra.style.position=(isAll?"absolute":"fixed");Sombra.style.zIndex=100;Sombra.style.width=parseInt(Objeto(caixa).offsetWidth)+50+"px";Sombra.style.height=parseInt(Objeto(caixa).offsetHeight)+20+"px";Sombra.style.left=parseInt(Objeto(caixa).offsetLeft)-15+"px";Sombra.style.top=parseInt(Objeto(caixa).offsetTop)+15+"px";Objeto(caixa).parentNode.insertBefore(Sombra,Objeto(caixa));var b="document.getElementsByTagName('BODY')[0].removeChild(Objeto('Sombra'));"}else{var b=""}id="Input"+(Math.random()*10);id=id.replace(".","");b+="document.getElementsByTagName('BODY')[0].removeChild(Objeto(transparencia));document.getElementsByTagName('BODY')[0].removeChild(Objeto(caixa));"+d;var f="<BR />";f+=g;f+="<BR /><BR /><BR />";f+="<div align=center><BR/><input type=button value="+dic_js.ok+' class=BotaoBranco onclick="'+b+'" /></div>';Objeto(caixa).innerHTML="<table border=0 width=100% height=100%><td align='center' valign=center>"+f+"</td></table>"}function CustomNiceAlert(c,e,a,h){var b=new Navegador();var k=getPageSize();transparencia=_DinD();Estilo(transparencia).position="absolute";Estilo(transparencia).top="0px";Estilo(transparencia).left="0px";Estilo(transparencia).backgroundColor="#000";Estilo(transparencia).height=k[1]+"px";Estilo(transparencia).width="100%";Estilo(transparencia).zIndex=99;FadeIn(transparencia,[0,50]);caixa=_DinD();Estilo(caixa).position=(isAll?"absolute":"fixed");Estilo(caixa).backgroundColor="#FFF";Estilo(caixa).height=h;Estilo(caixa).width=a;var d=Math.floor(k[3]/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0));Estilo(caixa).top=d+"px";d=Math.floor(k[2]/2-parseInt(Estilo(caixa).width)/2);Estilo(caixa).left=d+"px";Estilo(caixa).zIndex=101;Estilo(caixa).padding="20px";Estilo(caixa).border="3px solid #fd2e9e";Estilo(caixa).borderRadius="2em";Estilo(caixa).MozBorderRadius="2em";Estilo(caixa).KhtmlBorderRadius="2em";if(!b.IE){Sombra=document.createElement("IMG");Sombra.src=cfg_IMAGEM+"/layout/v2/sombra.png";Sombra.id="Sombra";Sombra.style.position=(isAll?"absolute":"fixed");Sombra.style.zIndex=100;Sombra.style.width=parseInt(Objeto(caixa).offsetWidth)+50+"px";Sombra.style.height=parseInt(Objeto(caixa).offsetHeight)+20+"px";Sombra.style.left=parseInt(Objeto(caixa).offsetLeft)-15+"px";Sombra.style.top=parseInt(Objeto(caixa).offsetTop)+15+"px";Objeto(caixa).parentNode.insertBefore(Sombra,Objeto(caixa));var f="document.getElementsByTagName('BODY')[0].removeChild(Objeto('Sombra'));"}else{var f=""}id="Input"+(Math.random()*10);id=id.replace(".","");f+="document.getElementsByTagName('BODY')[0].removeChild(Objeto(transparencia));document.getElementsByTagName('BODY')[0].removeChild(Objeto(caixa));"+e;var g="<BR />";g+=c;g+="<BR /><BR /><BR />";g+="<div align=center><BR/><input type=button value="+dic_js.ok+' class=BotaoBranco onclick="'+f+'" /></div>';Objeto(caixa).innerHTML="<table border=0 width=100% height=100%><td align='center' valign=center>"+g+"</td></table>"}function infoGrafico(c,k,e){var b=new Navegador();var l=getPageSize();var d=document.getElementsByTagName("body").item(0);var a=_DinD();var g=_DinD();var f=_DinD();Objeto(g).id="infoGrafico_transparencia";g="infoGrafico_transparencia";Estilo(g).position="absolute";Estilo(g).top="0px";Estilo(g).left="0px";Estilo(g).backgroundColor="#000";Estilo(g).height=l[1]+"px";Estilo(g).width="100%";Estilo(g).zIndex=99;FadeIn(g,[0,50]);Objeto(a).id="infoGrafico_container";a="infoGrafico_container";Estilo(a).position=(isAll?"absolute":"fixed");Estilo(a).height=e+"px";Estilo(a).width=k+"px";Estilo(a).top=document.body.clientHeight/2-parseInt(Estilo(a).height)/2+(isAll?document.body.scrollTop:0)+"px";Estilo(a).left=document.body.offsetWidth/2-parseInt(Estilo(a).width)/2+"px";Estilo(a).zIndex=101;Estilo(a).textAlign="center";Objeto(a).innerHTML='<OBJECT class="jsembed" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"WIDTH="'+k+'" HEIGHT="'+e+'"><PARAM NAME="allowScriptAccess" VALUE="never"><PARAM NAME="allowNetworking" VALUE="never"><PARAM NAME="movie" VALUE="'+c+'" id="src2"><PARAM NAME="quality" VALUE="high"><param name="wmode" value="transparent"><EMBED id="lightboxImageEmbed" class="jsembed" wmode="transparent" src="'+c+'" quality="high" WIDTH="'+k+'" HEIGHT="'+e+'" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';Estilo(a).visibility="hidden";Objeto(f).id="infoGrafico_fechar";f="infoGrafico_fechar";Estilo(f).position=(isAll?"absolute":"fixed");Estilo(f).height="30px";Estilo(f).width="30px";Estilo(f).cursor="pointer";Estilo(f).top=(document.body.clientHeight/2-parseInt(Estilo(a).height)/2+(isAll?document.body.scrollTop:0))+"px";Estilo(f).left=(document.body.offsetWidth/2-parseInt(Estilo(a).width)/2)+(k-30)+"px";Estilo(f).zIndex=120;Estilo(f).textAlign="center";Objeto(f).innerHTML='<img src="http://imagens.editorial.bolsademulher.com/layout/cancerdemama/bt_fechar.gif" width="30" height="30" alt="" />	';Objeto(f).onclick=function(){fecha_infoGrafico()};Estilo(a).visibility="visible";Objeto(g).onclick=function(){fecha_infoGrafico()};if(Estilo("BarraExterna")){Estilo("BarraExterna").visibility="hidden"}}function fecha_infoGrafico(){Estilo("BarraExterna").visibility="visible";document.getElementsByTagName("BODY").item(0).removeChild(Objeto("infoGrafico_transparencia"));document.getElementsByTagName("BODY").item(0).removeChild(Objeto("infoGrafico_container"));document.getElementsByTagName("BODY").item(0).removeChild(Objeto("infoGrafico_fechar"))}function Navegador(){this.IE=false;this.NS=false;this.MOZ=false;this.WK=false;this.versao=false;this.nome=false;var a=navigator.appName;this.nome=a;var b=navigator.appVersion;b=b.split(" ");b=b[0];this.versao=b;if(navigator.appVersion.match("Safari")){this.nome="Safari";this.WK=true;b=navigator.appVersion.split("/");b=b[2].split(" ");this.versao=b[0]}else{if(navigator.appVersion.match("MSIE")){this.nome="IE";this.IE=true;b=navigator.appVersion.split(";");b=b[1].split(" ");b=b[2];this.versao=b}else{if(navigator.appVersion.match("Mozilla")){this.nome="Firefox";this.NS=true;this.MOZ=true;b=navigator.appVersion.split(";");b=b[1].split(" ");b=b[2];this.versao=b}else{if(this.nome="Netscape"){this.NS=true}}}}}function getPageSize(){var c,a;if(window.innerHeight&&window.scrollMaxY){c=document.body.scrollWidth;a=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){c=document.body.scrollWidth;a=document.body.scrollHeight}else{c=document.body.offsetWidth;a=document.body.offsetHeight}}var b,d;if(self.innerHeight){b=self.innerWidth;d=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){b=document.documentElement.clientWidth;d=document.documentElement.clientHeight}else{if(document.body){b=document.body.clientWidth;d=document.body.clientHeight}}}if(a<d){pageHeight=d}else{pageHeight=a}if(c<b){pageWidth=b}else{pageWidth=c}arrayPageSize=new Array(pageWidth,pageHeight,b,d);return arrayPageSize}function checa_calculadora(){var a=document.calculadora.frm_pesokg.value;var c=document.calculadora.frm_altura.value;var b=false;if(a==""||!/[0-9]/.test(a)){b=true;alert(dic_js.verifiquepeso);calculadora.frm_pesokg.focus()}if((c==""||!/[0-9]/.test(a))&&!b){b=true;alert(dic_js.verifiquealtura);calculadora.frm_altura.focus()}if(!/[0-9],[0-9]/.test(c)&&!b){b=true;alert(dic_js.verifiquealtura);calculadora.frm_altura.focus()}if(b){return false}else{return true}}function Prato(b,a){if(a==2){a="RetiraPrato"}else{if(a==3){AJAX("?acao=EsvaziaPrato&produto=0","MeuCardapio")}else{a="EnchePrato"}}window.location="?acao="+a+"&produto="+b}function AbrePrato(){window.open("?acao=AbrePrato","popuprato","width=350,height=400,scrollbars=yes")}BBcode=function(m){this.campo=m;this.caixa_transparencia=0.9;this.PegaSelecao=k;this.ListaSmiles=g;this.Negrito=c;this.Italico=a;this.URL=f;this.IMG=l;this.YouTube=d;this.Membro=e;this.eMail=n;this.Smile=b;this.CriaCaixa=h;function c(){texto=prompt(dic_js.TextoNegrito,"");if(texto){this.campo.value+="[B]"+texto+"[/B] "}}function a(){texto=prompt(dic_js.TextoItalico,"");if(texto){this.campo.value+="[I]"+texto+"[/I] "}}function f(){url=prompt(dic_js.ChamarPagina,"http://");if(url){titulo=prompt(dic_js.TituloPagina);if(titulo){this.campo.value+="[URL="+url+"]"+titulo+"[/URL] "}else{this.campo.value+="[URL]"+url+"[/URL] "}}}function l(){texto=prompt(dic_js.ChamarImagem,"http://");if(texto){this.campo.value+="[IMG]"+texto+"[/IMG] "}}function n(){email=prompt(dic_js.EmailCompleto);if(email){this.campo.value+="[EMAIL]"+email+"[/EMAIL] "}}function d(){yt=prompt(dic_js.ChamarURL,"http://");if(yt){yt=yt.split("?v=");yt=yt[1].substring(0,11);this.campo.value+="[YT]"+yt+"[/YT] "}}function e(){login=prompt(dic_js.MencionarUsuaria,"");if(login){this.campo.value+="[USR]"+login+"[/USR] "}}function b(o){this.campo.value+=" "+o}function k(){this.txt=false;if(!isAll){this.txt=""}else{if(window.getSelection){this.txt=window.getSelection()}else{if(document.getSelection){this.txt=document.getSelection()}else{if(document.selection){this.txt=document.selection.createRange().text}else{this.txt=""}}}}}function g(p){var o=new Object();o[":D"]="icon_biggrin.gif";o[":S"]="icon_confused.gif";o["(H)"]="icon_cool.gif";o[":,("]="icon_cry.gif";o[":|"]="icon_eek.gif";o["(6)"]="icon_evil.gif";o[":("]="icon_frown.gif";o[":))"]="icon_lol.gif";o[":-/"]="icon_mad.gif";o["=D"]="icon_mrgreen.gif";o[":|"]="icon_neutral.gif";o[":>"]="icon_razz.gif";o[":$"]="icon_redface.gif";o["8-)"]="icon_rolleyes.gif";o[":("]="icon_sad.gif";o[":)"]="icon_smile.gif";o[":-O"]="icon_surprised.gif";o[">=)"]="icon_twisted.gif";o[";)"]="icon_wink.gif";o["(->)"]="icon_arrow.gif";o["(?)"]="icon_question.gif";o["(!)"]="icon_exclaim.gif";o["(I)"]="icon_idea.gif";o["(L)"]="coracao.gif";o["(A)"]="anjo.gif";o["=(("]="coracao_partido.gif";o["(CL)"]="aplausos.gif";o[":o)"]="palhaco.gif";for(smile in o){document.write("<img src='"+cfg_IMAGEM+"/smiles/"+o[smile]+"' border=0 alt='"+smile+"' title='"+smile+"' onClick='"+p+'.Smile("'+smile+"\")' style='cursor:pointer;margin-right:5px;margin-bottom:2px' />")}}function h(o,q){var p=_DinD();Estilo(p).display="none";Estilo(p).width=o+"px";Estilo(p).height=q+"px";Estilo(p).backgroundColor="red";Estilo(p).top=mouseY;Estilo(p).left=mouseX;Estilo(p).zIndex=100;Estilo(p).position="absolute";Estilo(p).opacity=this.caixa_transparencia;Estilo(p).MozOpacity=this.caixa_transparencia;Estilo(p).filter="alpha(opacity="+this.caixa_transparencia*100+"%)";Estilo(p).display="block";return p}};if(!isAll){document.captureEvents(Event.MOUSEMOVE)}document.onmousemove=getMouseXY;var mouseX=0;var mouseY=0;function getMouseXY(a){if(isAll){mouseX=event.clientX+document.body.scrollLeft;mouseY=event.clientY+document.body.scrollTop}else{mouseX=a.pageX;mouseY=a.pageY}return true}function AutoScroll(){if(screen.width==800){if(mouseX>700&&mouseX<1000){window.scrollBy(50,0)}else{if(mouseX<300){window.scrollBy(-50,0)}}var a=setTimeout("AutoScroll()",100)}}if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(o,b,p,e,l,m,g,f,d,n){if(!document.getElementById){return}this.DETECT_KEY=n?n:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(o){this.setAttribute("swf",o)}if(b){this.setAttribute("id",b)}if(p){this.setAttribute("width",p)}if(e){this.setAttribute("height",e)}if(l){this.setAttribute("version",new deconcept.PlayerVersion(l.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(m){this.addParam("bgcolor",m)}var a=g?g:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var k=(f)?f:window.location;this.setAttribute("xiRedirectUrl",k);this.setAttribute("redirectUrl","");if(d){this.setAttribute("redirectUrl",d)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(b,a){this.params[b]=a},getParams:function(){return this.params},addVariable:function(b,a){this.variables[b]=a},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var c=new Array();var b;var a=this.getVariables();for(b in a){c[c.length]=b+"="+a[b]}return c},getSWFHTML:function(){var b="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}b='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';b+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var f=this.getParams();for(var e in f){b+=[e]+'="'+f[e]+'" '}var d=this.getVariablePairs().join("&");if(d.length>0){b+='flashvars="'+d+'"'}b+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}b='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';b+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var c=this.getParams();for(var e in c){b+='<param name="'+e+'" value="'+c[e]+'" />'}var a=this.getVariablePairs().join("&");if(a.length>0){b+='<param name="flashvars" value="'+a+'" />'}b+="</object>"}return b},write:function(b){if(this.getAttribute("useExpressInstall")){var a=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(a)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var c=(typeof b=="string")?document.getElementById(b):b;c.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var f=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){f=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var b=1;var c=3;while(b){try{c++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);f=new deconcept.PlayerVersion([c,0,0])}catch(d){b=null}}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");f=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(d){if(f.major==6){return f}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(b!=null){f=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}}return f};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(c){var d=document.location.search||document.location.hash;if(c==null){return d}if(d){var b=d.substring(1).split("&");for(var a=0;a<b.length;a++){if(b[a].substring(0,b[a].indexOf("="))==c){return b[a].substring((b[a].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var b=document.getElementsByTagName("OBJECT");for(var c=b.length-1;c>=0;c--){b[c].style.display="none";for(var a in b[c]){if(typeof b[c][a]=="function"){b[c][a]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;function MostraCampo(){var a=document.getElementById("envialink");var b=document.getElementById("enviafield");a.style.display="none";b.style.display="block"}function DevolveVideo(){var a=document.getElementById("DisplayVideo");a.style.display="block"}function ShowTemaField(){var b=document.getElementById("inserirtema");var a=document.getElementById("temafield");b.style.display="none";a.style.display="block"}function BolsaTV_Proximo(){if(BolsaTV_proximo!=null){window.location=BolsaTV_proximo}}function BolsaTV_Playlist(b,a){if(a==null){a="mais"}pAJAX(cfg_URL+"/AJAX/video_seucanal.php?v="+b+"&acao="+a,"<SCRIPT>")}function BolsaTV_PlaylistPop(b){var c=getCookie("BolsaTV_playlist");for(i=0;i<c.length;i++){if(b!=c[i]){saida.push(c[i])}}setCookie("BolsaTV_playlist",saida,"/video");var a=parseInt(Objeto("totPlaylist").innerHTML);a--;Objeto("totPlaylist").innerHTML=a}function correctPNG(){for(var g=0;g<document.images.length;g++){var d=document.images[g];var f=d.src.toUpperCase();if(f.substring(f.length-3,f.length)=="PNG"){var b=(d.id)?"id='"+d.id+"' ":"";var e=(d.className)?"class='"+d.className+"' ":"";var h=(d.title)?"title='"+d.title+"' ":"title='"+d.alt+"' ";var c="display:inline-block;"+d.style.cssText;if(d.align=="left"){c="float:left;"+c}if(d.align=="right"){c="float:right;"+c}if(d.parentElement.href){c="cursor:hand;"+c}var a="<span "+b+e+h+' style="width:'+d.width+"px; height:"+d.height+"px;"+c+";filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+d.src+"', sizingMethod='scale');\"></span>";d.outerHTML=a;g=g-1}}}if(isAll){window.attachEvent("onload",correctPNG)}DropMenu=function(g){this.SumirTempoEspera=150;this.SumirOnClick=true;this.SumirTimeout=false;this.Aba=g;this.Sombra=document.createElement("IMG");this.Sombra.src=cfg_IMAGEM+"/layout/v2/sombra.png";this.DropMenu=DropMenu;this.Contem=b;this.SumirAutomatico=f;this.Sumir=d;this.Aguardar=c;this.LimpaTimeout=e;this.Mostrar=a;this.Sumir();function a(){var h=new Navegador;Estilo(this.Aba).display="block";if(!h.IE||(h.IE&&parseInt(h.versao)>="7")){this.Sombra.style.zIndex=55;this.Sombra.id=this.Aba+"Sombra";this.Sombra.style.position="absolute";this.Sombra.style.width=parseInt(Objeto(this.Aba).offsetWidth)+50+"px";this.Sombra.style.height=parseInt(Objeto(this.Aba).offsetHeight)+20+"px";this.Sombra.style.left=parseInt(Objeto(this.Aba).offsetLeft)-15+"px";this.Sombra.style.top=parseInt(Objeto(this.Aba).offsetTop)+2+"px";Objeto(this.Aba).parentNode.insertBefore(this.Sombra,Objeto(this.Aba))}var k=document.getElementById("menuIframe");var l=Objeto(this.Aba).parentNode;k.style.left=parseInt(l.offsetLeft)+parseInt(Objeto(this.Aba).offsetLeft)+"px";k.style.top=parseInt(l.offsetTop)+parseInt(Objeto(this.Aba).offsetTop)+"px";k.style.width=parseInt(Objeto(this.Aba).offsetWidth)+"px";k.style.height=parseInt(Objeto(this.Aba).offsetHeight)+"px";k.style.display="block"}function b(){while(Objeto(this.Aba).parentNode){if(Objeto(this.Aba).parentNode==Objeto(this.Aba)){return true}return false}}function f(){if(isAll&&!Objeto(this.Aba).contains(this.Aba)){this.Aguarde()}else{if(isID&&Objeto(this.Aba)!=Objeto(this.Aba).parentNode&&!this.Contem_isID()){this.Aguarde()}}}function d(){if(typeof this.Aba!="undefined"){if(isAll||isID){Estilo(this.Aba).display="none";if(this.Sombra.id){Objeto(this.Aba).parentNode.removeChild(this.Sombra)}}}document.getElementById("menuIframe").style.display="none"}function c(){if(isAll||isID){this.SumirTimeout=setTimeout(this.Aba+".Sumir()",this.SumirTempoEspera)}}function e(){if(typeof this.SumirTimeout!="undefined"){clearTimeout(this.SumirTimeout)}}};