var javascript_cached = true;;var site_lang='pt_BR';var cfg_URL='http://www.bolsademulher.com/';var cfg_IMAGEM='http://img.estatico.bolsademulher.com/';var cfg_PESSOAL='http://minha.bolsademulher.com/';var cfg_URL_ESTATICO='http://www.bolsademulher.com/';var cfg_IMAGEM_ESTATICO='http://img.estatico.bolsademulher.com';if(typeof BDM=="undefined"||!BDM){var BDM={};}
BDM.namespace=function(){var a=arguments,o=null,i,j,d;for(i=0;i<a.length;i=i+1){d=a[i].split(".");o=BDM;for(j=(d[0]=="BDM")?1:0;j<d.length;j=j+1){o[d[j]]=o[d[j]]||{};o=o[d[j]];}}
return o;};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 xScroll,yScroll;if(window.innerHeight&&window.scrollMaxY){xScroll=document.body.scrollWidth;yScroll=window.innerHeight+window.scrollMaxY;}else if(document.body.scrollHeight>document.body.offsetHeight){xScroll=document.body.scrollWidth;yScroll=document.body.scrollHeight;}else{xScroll=document.body.offsetWidth;yScroll=document.body.offsetHeight;};var windowWidth,windowHeight;if(self.innerHeight){windowWidth=self.innerWidth;windowHeight=self.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){windowWidth=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight;}else if(document.body){windowWidth=document.body.clientWidth;windowHeight=document.body.clientHeight;};if(yScroll<windowHeight){pageHeight=windowHeight;}
else{pageHeight=yScroll;};if(xScroll<windowWidth){pageWidth=windowWidth;}else{pageWidth=xScroll;}
BDM.util.pageDimensions={};BDM.util.pageDimensions.page={width:pageWidth,height:pageHeight};BDM.util.pageDimensions.viewport={width:windowWidth,height:windowHeight};};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.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.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.0,to:0.5,duration:0.5});this.elMaskIframe.show();}});BDM.widget.Panel=Class.create({initialize:function(name,opts){if(typeof opts=='undefined'||!opts)
opts={};this.elContainer=$(name);this.options={};this.options.width=opts.width||"300px";this.options.height=opts.height||"300px";this.options.modal=opts.modal||true;this.options.close=opts.close||true;var size=getPageSize();var css_top=Math.floor(size[3]/2-parseInt(this.options.height)/2+(isAll?document.body.scrollTop:0));var css_left=Math.floor(size[2]/2-parseInt(this.options.width)/2);if(!this.elContainer){this.elContainer=new Element("div",{id:name});}
$(document.body).insert({top:this.elContainer});var navegador=new Navegador();if(!navegador.IE||(navegador.IE&&parseInt(navegador.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:css_left-15+"px",top:css_top+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:css_top+"px",left:css_left+"px",opacity:1});this.elContainer.show();if(this.options.close){var hd=this.elContainer.select("div.hd")[0];hd.setStyle({marginRight:"30px"});var close_div=new Element("div").setStyle({position:"relative"});var close_a=new Element("a",{href:"#"}).observe("click",this.hide.bindAsEventListener(this));var close_img=new Element("img",{src:cfg_IMAGEM+"/layout/cancerdemama/bt_fechar.gif"}).setStyle({position:"absolute",right:"-20px",top:"-20px"});close_a.appendChild(close_img);close_div.appendChild(close_a);hd.insert({before:close_div});};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(!navegador.IE||(navegador.IE&&parseInt(navegador.versao)>='7')){$(document.body).insert(this.Sombra,{position:"top"});}
this.show();},handleScroll:function(){var size=getPageSize();Element.setStyle(this.elContainer,{top:Math.floor(size[3]/2-parseInt(this.options.height)/2)+15+document.documentElement.scrollTop+'px'});},hide:function(){var navegador=new Navegador();if(navegador.IE&&parseInt(navegador.versao)<'7'){window.detachEvent('onscroll',this.handleScroll.bindAsEventListener(this));};if(!navegador.IE||(navegador.IE&&parseInt(navegador.versao)>='7'))
this.Sombra.hide();this.elContainer.hide();if(this.options.modal&&!this.mask_is_hidden){this.mask.hide();}},show:function(){var navegador=new Navegador();if(navegador.IE&&parseInt(navegador.versao)<'7'){window.attachEvent('onscroll',this.handleScroll.bindAsEventListener(this));};if(this.options.modal&&this.mask_is_hidden){this.mask.show();}
this.elContainer.show();if(!navegador.IE||(navegador.IE&&parseInt(navegador.versao)>='7')){this.Sombra.show();}},setHeader:function(el){this.elContainer.select("div.hd").item(0).update(el);},setBody:function(el){this.elContainer.select("div.bd").item(0).update(el);}});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(acao){if(Estilo('TextoMateria').fontSize=='')
Estilo('TextoMateria').fontSize="12px";switch(acao){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=acao+"px";Estilo('TextoMateria').lineHeight=1.5;break;}};var SeletorAntigo=1;var ZapId='';var TempoZap=20*1000;function TrocaCanal(ativo,zap){clearTimeout(ZapId)
Estilo('Seletor_'+ativo).display='block';Estilo('Texto_Sel_'+ativo).display='block';Estilo('Seletor_'+SeletorAntigo).zIndex=0;Estilo('Seletor_'+ativo).zIndex=1;Estilo('Texto_Sel_'+SeletorAntigo).zIndex=0;Estilo('Texto_Sel_'+ativo).zIndex=1;FadeIn('Seletor_'+ativo,60);setTimeout("Estilo('Seletor_"+SeletorAntigo+"').display = 'none'",1000);SeletorAntigo=ativo
ZapId=setTimeout('Zap('+(ativo+1)+')',TempoZap)};function afr(origem,url){pAJAX(url);FadeOut(origem,90,true);};function getCookie(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)
return null;}else{begin+=2;};var end=document.cookie.indexOf(";",begin);if(end==-1){end=dc.length;}
return unescape(dc.substring(begin+prefix.length,end));};function setCookie(name,value,path){var today=new Date();var path_string=';path=/';today.setTime(today.getTime());expires=7*60*60*24;var expires_date=new Date(today.getTime()+(expires));if(path!=null)
path_string=";path="+path;document.cookie=name+"="+escape(value)+";expires="+expires_date.toGMTString()+path_string;};function _cTexto(chave){pAJAX(cfg_URL+"/materia/PegaTexto.php?vl="+chave,"<SCRIPT>");};var TimeoutEtc=false;function etcetera(i){if(i%4==1){Objeto("Metc").innerHTML='.';};if(i%4==2){Objeto("Metc").innerHTML='..';};if(i%4==3){Objeto("Metc").innerHTML='...';};if(i%4==0){Objeto("Metc").innerHTML='&nbsp;';};i++;TimeoutEtc=setTimeout("etcetera("+i+")",200);};function _favoritar(obj){var tipo=obj.substring(0,1);var id=obj.substring(1,obj.length);switch(tipo){case'M':pAJAX(cfg_URL+'/AJAX/favorita.php?id_materia='+id+'&tipo='+tipo,'FavMateria');break;case'F':pAJAX(cfg_URL+'/AJAX/favorita.php?id_forum='+id+'&tipo='+tipo,'FavForum');break;}};function _denunciar(obj){var tipo=obj.substring(0,1);var id=obj.substring(1,obj.length);switch(tipo){case'F':pAJAX(cfg_URL+'/AJAX/denuncia.php?id_forum='+id+'&tipo='+tipo,'DenForum');break;}};var renewtime=timestamp;function _renew(){if(renewtime<time()-600000){AJAX(cfg_URL+'/AJAX/live.php');renewtime=time();}};function _addContato(obj,p){var href=obj.href.split('/');var acao='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 avatar=Objeto(p).getElementsByTagName('A').item(0).innerHTML;var login=Objeto(p).getElementsByTagName('A').item(1).innerHTML;var fechar="Elemento(\'BODY\').removeChild(Objeto(transparencia));Elemento(\'BODY\').removeChild(Objeto(caixa))";if(obj.innerHTML=='adicione como favorito'){var str=avatar+'<BR /><BR />&nbsp;&nbsp;<span class="TexCor2">'+dic_js.voceiraadd+' '+login+' '+dic_js.asualistade+' <B>'+dic_js.favoritos+'</B>.</span><BR/><BR/><BR/><BR/>';str+='<div style="padding-left:50px">'+dic_js.podetambem+' '+login+' '+dic_js.asualistade+' <em>'+dic_js.amigas+'</em>.<BR/><BR/>';str+='<input type="checkbox" name="amigo" value="S" id="famigo" style="padding-left:10px"> '+dic_js.addcomoamiga+'<BR/><BR/><BR/>';}else{var str=avatar+'<BR /><BR />&nbsp;&nbsp;<span class="TexCor2">'+login+' '+dic_js.janalista+' <B>'+dic_js.favoritos+'</B>.</span><BR/><BR/><BR/><BR/>';str+='<div style="padding-left:50px"><BR />'+dic_js.Vocequer+' <B>'+dic_js.remover+'</B> '+login+' '+dic_js.dalistafavoritos+'<BR/><BR/><BR /><BR />';acao='remover';}
str+='<BR/><input type=button value='+dic_js.ok+' class=BotaoBranco onClick="pAJAX(cfg_URL + \'/AJAX/favorita.php?pessoa='+href[3]+'&amigo='+(acao=='adicionar'?'\'+(Objeto(\'famigo\').checked==true ? Objeto(\'famigo\').value : \'\')+\'':'N')+'&tipo=FP\',\''+p.replace('r','c')+'\');'+fechar+'" /> <input type=button value='+dic_js.ok+' class=BotaoBranco onClick="'+fechar+'" /></div>';Objeto(caixa).innerHTML=str;return false;};function verimagem(img,destino,x,y){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 img_tmp=new Image();img_tmp=img;Estilo(caixa).position=(isAll?'absolute':'fixed');Estilo(caixa).backgroundColor='#FEFEFE';Estilo(caixa).height=(y=='null'?img_tmp.height:y)+20+"px";Estilo(caixa).width=(x=='null'?img_tmp.width:x)+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 str="<a href='javascript:void(1)' onClick='Elemento(\"BODY\").removeChild(Objeto(transparencia));Elemento(\"BODY\").removeChild(Objeto(caixa))'><img src='"+img+"' alt='"+dic_js.fechar+"' border=0 /></a>";Objeto(caixa).innerHTML=str;return void(0);};function _InserirTemas(obj,id,destino){document.write("<scr"+"ipt>var InserirTemasVO='"+obj+"';");document.write("var InserirTemasVI='"+id+"';");document.write("var InserirTemasVD='"+destino+"';</scr"+"ipt>");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(obj,id,destino){document.write("<scr"+"ipt>var InserirTemasVO='"+obj+"';");document.write("var InserirTemasVI='"+id+"';");document.write("var InserirTemasVD='"+destino+"';</sc"+"ript>");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(name,value,days){if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires="; expires="+date.toGMTString();}
else{var expires="";}
document.cookie=name+"="+value+expires+"; path=/; domain=bolsademulher.com";};function readCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return c.substring(nameEQ.length,c.length);}
return null;};function eraseCookie(name){createCookie(name,"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(quem){return isLayer?document.layers[quem]:isID?document.getElementById(quem):document.all[quem];};function Entidade(quem){return Objeto(quem)};function Estilo(quem){return isLayer?Objeto(quem):Objeto(quem).style;};function Elemento(TAG,n){if(n=="null"){n=0;}return document.getElementsByTagName(TAG).item(n);};function time(){return new Date().getTime();};function ChecaInput(valor,RE,metodo){if(metodo=="null")
metodo=0;if(metodo==1){for(i=0;i<valor.length;i++){if(!RE.test(valor.charAt(i)))
valor=valor.replace(valor.charAt(i),"");}
return valor;}else{if(!RE.test(valor)){return"";}else{return valor;}}};function Telefone(numero){if(!ChecaInput(numero.substring(numero.length-1,numero.length),/[0-9]/,1)){return numero.substring(0,numero.length-1);}
numero=ChecaInput(numero,/[0-9|\-|\(|\)|\ ]/,1);if(numero.length==1){numero="("+numero;};if(numero.length==3){numero=numero+") ";};if(numero.length==9){numero=numero+"-";}
return numero;};function FormataData(dados){var numero=dados.value;if(numero=='ASAP'){return false;};if(!ChecaInput(numero.substring(numero.length-1,numero.length),/[0-9]/,1)){return numero.substring(0,numero.length-1);}
data=new Date();ano=data.getFullYear();if(numero.substring(0,2)>31){dados.value="";return false;}
else if(numero.substring(3,5)>12){dados.value=numero.substring(0,3);return false;}
numero=ChecaInput(numero,/[0-9|\/|A|S|P]/,1);numero=numero.substring(0,2)+(numero.length>2?(isNaN(numero.charAt(2))?"":"/"):"")+numero.substring(2,numero.length);numero=numero.substring(0,5)+(numero.length>5?(isNaN(numero.charAt(5))?"":"/"):"")+numero.substring(5,numero.length);dados.value=numero;};function FormataMesAno(dados){var numero=dados.value;if(!ChecaInput(numero.substring(numero.length-1,numero.length),/[0-9]/,1)){return numero.substring(0,numero.length-1)}
numero=ChecaInput(numero,/[0-9|\/]/,1);numero=numero.substring(0,2)+(numero.length>2?(isNaN(numero.charAt(2))?"":"/"):"")+numero.substring(2,numero.length)
dados.value=numero;};function FormataNum(numero,ch,ind,tam){if(!ChecaInput(numero.substring(numero.length-1,numero.length),/[0-9]/,1)){return numero.substring(0,numero.length-1)};if(numero.length>=tam-ind){numero=numero.replace(ch,'');numero=numero.substring(0,tam-ind)+ch+numero.substring(tam-ind,tam);}
return numero;};function FormataDinheiro(numero){numero=ChecaInput(numero,/[0-9|\,]/,1);var tamanho=numero.length-1;if(tamanho<1){tamanho=1}
numero=FormataNum(numero,',',2,tamanho)
return numero;};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(url){if(top.frames.length>1){top.location=url;}};function _DinF(campos,destino,alvo){var FormId='Form'+Math.random();var oCorpo=document.getElementsByTagName("body").item(0);var oFormu=document.createElement("FORM");oFormu.style.display='none';for(i=0;i<campos.length;i++){var oField=document.createElement("INPUT");oField.setAttribute('name',campos[i][0]);oField.setAttribute('value',campos[i][1]);oFormu.appendChild(oField);}
oCorpo.appendChild(oFormu);oFormu.method='post';if(destino)oFormu.action=destino;if(alvo)oFormu.target=alvo;oFormu.submit();};function pHref(url,target){var vars=new Array();var vetor=new Array();url=url.split('?');var par=url[1]
par=par.split('&');for(i=0;i<par.length;i++){vars=par[i];vars=vars.split('=');vetor[i]=new Array(vars[0],vars[1]);}
return _DinF(vetor,url[0],target);};function _DinD(){var DivId='Div'+(Math.random()*10);DivId=DivId.replace('.','');var oDiv=document.createElement("DIV");oDiv.id=DivId;var oCorpo=document.getElementsByTagName('body').item(0);oCorpo.appendChild(oDiv);return DivId;};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(obj,X0,X1,tempo,velocidade){var inc=(X0<X1?velocidade:velocidade*-1);Estilo(obj).left=X0+inc+"px";if(Math.abs(X0-X1)>1)
setTimeout('ScrollX("'+obj+'",'+(X0+inc)+','+X1+','+tempo+','+velocidade+')',tempo);};var http_request=false;function AJAX(url,destino,metodo){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(e){try{http_request=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e){}}};if(!http_request){alert('Abortado: Não trabalhar com XMLHTTP');return false;}
http_request.onreadystatechange=function(){AJAXretorno(destino)};if(metodo=='POST'){var vars=new Array();var vetor=new Array();url=url.split('?');parametros=url[1];url=url[0];}
else{metodo='GET'
parametros=''}
http_request.open(metodo,url,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(url,destino){AJAX(url,destino,'POST');};function MailTo(email){email=email.replace(/:/g,'.');email=email.replace(/a/g,'c');email=email.replace(/\*/g,'a');email=email.replace(/¨/g,'e');email=email.replace(/~/g,'@');str=email;email='';for(i=0;i<str.length;i++){email+=(i%2==0?str.substr(i,1):"");}
window.location='mailto:'+email.replace('(M)','bolsademulher');};function PosX(obj)
{var curleft=0;if(obj.offsetParent){while(obj.offsetParent){curleft+=obj.offsetLeft;obj=obj.offsetParent;}}else if(obj.x){curleft+=obj.x;}
return curleft;};function PosY(obj)
{var curtop=0;if(obj.offsetParent){while(obj.offsetParent){curtop+=obj.offsetTop;obj=obj.offsetParent;}}else if(obj.y){curtop+=obj.y;}
return curtop;};function NicePrompt(pergunta,valor,acoes,alfa){var size=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 auxvar=Math.floor(size[3]/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0));Estilo(caixa).top=auxvar+"px";auxvar=Math.floor(size[2]/2-parseInt(Estilo(caixa).width)/2);Estilo(caixa).left=auxvar+"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 fechar="Elemento('BODY').removeChild(Objeto('transparencia'));Elemento('BODY').removeChild(Objeto('caixa'))";if(valor=="null")
valor='';var str='<BR />';str+=pergunta;str+='<BR /><BR />';str+='<BR/><input type=input id="'+id+'" value="'+valor+'" size=30 />';str+='<BR /><BR />';str+='<div align=center><BR/><input type=button value='+dic_js.ok+' class=BotaoBranco onClick="'+fechar+';return Objeto(id).value;" />';str+='&nbsp;&nbsp;<input type=button value='+dic_js.cancelar+' class=BotaoBranco onClick="'+fechar+'" /></div>';Objeto(caixa).innerHTML="<table border=0 width=100% height=100%><td align='center' valign=center>"+str+"</td></table>";};function NiceConfirm(pergunta,acoes,alfa){var size=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(alfa=="null");alfa=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 auxvar=Math.floor(size[3]/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0));Estilo(caixa).top=auxvar+"px";auxvar=Math.floor(size[2]/2-parseInt(Estilo(caixa).width)/2);Estilo(caixa).left=auxvar+"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(acoes.length<1)
acoes=[null,null];if(acoes[0]=="null")
acoes[0]=true;if(acoes[1]=="null")
acoes[1]=false;positivo=new function(){acoes[0]};negativo=new function(){acoes[1]};var str='<BR />';str+=pergunta;str+='<BR /><BR /><BR />';str+='<div align=center><BR/><input type=button value='+dic_js.ok+' class=BotaoBranco onClick="NiceTitleFechar();positivo();return true" />';str+='&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>"+str+"</td></table>";};function NiceAlert(msg,saida){var navegador=new Navegador();var size=getPageSize();transparencia=_DinD();Estilo(transparencia).position='absolute';Estilo(transparencia).top='0px';Estilo(transparencia).left='0px';Estilo(transparencia).backgroundColor='#000';Estilo(transparencia).height=size[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 auxvar=Math.floor(size[3]/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0));Estilo(caixa).top=auxvar+"px";auxvar=Math.floor(size[2]/2-parseInt(Estilo(caixa).width)/2);Estilo(caixa).left=auxvar+"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(!navegador.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 fechar="document.getElementsByTagName('BODY')[0].removeChild(Objeto('Sombra'));";}
else{var fechar="";}
id='Input'+(Math.random()*10);id=id.replace(".",'');fechar+="document.getElementsByTagName('BODY')[0].removeChild(Objeto(transparencia));document.getElementsByTagName('BODY')[0].removeChild(Objeto(caixa));"+saida;var str='<BR />';str+=msg;str+='<BR /><BR /><BR />';str+='<div align=center><BR/><input type=button value='+dic_js.ok+' class=BotaoBranco onclick="'+fechar+'" /></div>';Objeto(caixa).innerHTML="<table border=0 width=100% height=100%><td align='center' valign=center>"+str+"</td></table>";};function CustomNiceAlert(msg,saida,width,height){var navegador=new Navegador();var size=getPageSize();transparencia=_DinD();Estilo(transparencia).position='absolute';Estilo(transparencia).top='0px';Estilo(transparencia).left='0px';Estilo(transparencia).backgroundColor='#000';Estilo(transparencia).height=size[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=height;Estilo(caixa).width=width;var auxvar=Math.floor(size[3]/2-parseInt(Estilo(caixa).height)/2+(isAll?document.body.scrollTop:0));Estilo(caixa).top=auxvar+"px";auxvar=Math.floor(size[2]/2-parseInt(Estilo(caixa).width)/2);Estilo(caixa).left=auxvar+"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(!navegador.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 fechar="document.getElementsByTagName('BODY')[0].removeChild(Objeto('Sombra'));";}
else{var fechar="";}
id='Input'+(Math.random()*10);id=id.replace(".",'');fechar+="document.getElementsByTagName('BODY')[0].removeChild(Objeto(transparencia));document.getElementsByTagName('BODY')[0].removeChild(Objeto(caixa));"+saida;var str='<BR />';str+=msg;str+='<BR /><BR /><BR />';str+='<div align=center><BR/><input type=button value='+dic_js.ok+' class=BotaoBranco onclick="'+fechar+'" /></div>';Objeto(caixa).innerHTML="<table border=0 width=100% height=100%><td align='center' valign=center>"+str+"</td></table>";};function infoGrafico(arquivo,w,h){var navegador=new Navegador();var size=getPageSize();var oCorpo=document.getElementsByTagName('body').item(0);var container=_DinD();var transparencia=_DinD();var fechar=_DinD();Objeto(transparencia).id='infoGrafico_transparencia';transparencia='infoGrafico_transparencia';Estilo(transparencia).position='absolute';Estilo(transparencia).top='0px';Estilo(transparencia).left='0px';Estilo(transparencia).backgroundColor='#000';Estilo(transparencia).height=size[1]+"px";Estilo(transparencia).width='100%';Estilo(transparencia).zIndex=99;FadeIn(transparencia,[0,50]);Objeto(container).id='infoGrafico_container';container='infoGrafico_container';Estilo(container).position=(isAll?'absolute':'fixed');Estilo(container).height=h+'px';Estilo(container).width=w+'px';Estilo(container).top=document.body.clientHeight/2-parseInt(Estilo(container).height)/2+(isAll?document.body.scrollTop:0)+'px';Estilo(container).left=document.body.offsetWidth/2-parseInt(Estilo(container).width)/2+'px';Estilo(container).zIndex=101;Estilo(container).textAlign='center';Objeto(container).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=\""+w+"\" HEIGHT=\""+h+"\">"+"<PARAM NAME=\"allowScriptAccess\" VALUE=\"never\">"+"<PARAM NAME=\"allowNetworking\" VALUE=\"never\">"+"<PARAM NAME=\"movie\" VALUE=\""+arquivo+"\" id=\"src2\">"+"<PARAM NAME=\"quality\" VALUE=\"high\">"+"<param name=\"wmode\" value=\"transparent\">"+"<EMBED id=\"lightboxImageEmbed\" class=\"jsembed\" wmode=\"transparent\" src=\""+arquivo+"\" quality=\"high\" WIDTH=\""+w+"\" HEIGHT=\""+h+"\" ALIGN=\"center\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">"+"</EMBED></OBJECT>";Estilo(container).visibility='hidden';Objeto(fechar).id='infoGrafico_fechar';fechar='infoGrafico_fechar';Estilo(fechar).position=(isAll?'absolute':'fixed');Estilo(fechar).height='30px';Estilo(fechar).width='30px';Estilo(fechar).cursor='pointer';Estilo(fechar).top=(document.body.clientHeight/2-parseInt(Estilo(container).height)/2+(isAll?document.body.scrollTop:0))+'px';Estilo(fechar).left=(document.body.offsetWidth/2-parseInt(Estilo(container).width)/2)+(w-30)+'px';Estilo(fechar).zIndex=120;Estilo(fechar).textAlign='center';Objeto(fechar).innerHTML='<img src="http://imagens.editorial.bolsademulher.com/layout/cancerdemama/bt_fechar.gif" width="30" height="30" alt="" /> ';Objeto(fechar).onclick=function(){fecha_infoGrafico();};Estilo(container).visibility='visible';Objeto(transparencia).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 Navegador=navigator.appName;this.nome=Navegador;var NavegadorVer=navigator.appVersion;NavegadorVer=NavegadorVer.split(' ');NavegadorVer=NavegadorVer[0];this.versao=NavegadorVer;if(navigator.appVersion.match('Safari')){this.nome='Safari'
this.WK=true;NavegadorVer=navigator.appVersion.split("/");NavegadorVer=NavegadorVer[2].split(" ");this.versao=NavegadorVer[0];}else if(navigator.appVersion.match('MSIE')){this.nome='IE';this.IE=true;NavegadorVer=navigator.appVersion.split(";");NavegadorVer=NavegadorVer[1].split(" ");NavegadorVer=NavegadorVer[2];this.versao=NavegadorVer;}else if(navigator.appVersion.match('Mozilla')){this.nome='Firefox'
this.NS=true;this.MOZ=true;NavegadorVer=navigator.appVersion.split(";");NavegadorVer=NavegadorVer[1].split(" ");NavegadorVer=NavegadorVer[2];this.versao=NavegadorVer;}else if(this.nome='Netscape'){this.NS=true;}};function getPageSize(){var xScroll,yScroll;if(window.innerHeight&&window.scrollMaxY){xScroll=document.body.scrollWidth;yScroll=window.innerHeight+window.scrollMaxY;}else if(document.body.scrollHeight>document.body.offsetHeight){xScroll=document.body.scrollWidth;yScroll=document.body.scrollHeight;}else{xScroll=document.body.offsetWidth;yScroll=document.body.offsetHeight;};var windowWidth,windowHeight;if(self.innerHeight){windowWidth=self.innerWidth;windowHeight=self.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight){windowWidth=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight;}else if(document.body){windowWidth=document.body.clientWidth;windowHeight=document.body.clientHeight;};if(yScroll<windowHeight){pageHeight=windowHeight;}
else{pageHeight=yScroll;};if(xScroll<windowWidth){pageWidth=windowWidth;}else{pageWidth=xScroll;}
arrayPageSize=new Array(pageWidth,pageHeight,windowWidth,windowHeight)
return arrayPageSize;};function checa_calculadora(){var peso=document.calculadora.frm_pesokg.value;var altura=document.calculadora.frm_altura.value;var erro=false;if(peso==""||!/[0-9]/.test(peso)){erro=true;alert(dic_js.verifiquepeso);calculadora.frm_pesokg.focus();};if((altura==""||!/[0-9]/.test(peso))&&!erro){erro=true;alert(dic_js.verifiquealtura);calculadora.frm_altura.focus();};if(!/[0-9],[0-9]/.test(altura)&&!erro){erro=true;alert(dic_js.verifiquealtura);calculadora.frm_altura.focus();};if(erro){return false}
else{return true}};function Prato(produto,acao){if(acao==2){acao="RetiraPrato"}
else if(acao==3){AJAX("?acao=EsvaziaPrato&produto=0","MeuCardapio");}
else{acao="EnchePrato"}
window.location="?acao="+acao+"&produto="+produto;};function AbrePrato(){window.open("?acao=AbrePrato",'popuprato','width=350,height=400,scrollbars=yes')}
BBcode=function(campo){this.campo=campo;this.caixa_transparencia=.9;this.PegaSelecao=PegaSelecao;this.ListaSmiles=ListaSmiles;this.Negrito=Negrito;this.Italico=Italico;this.URL=URL;this.IMG=IMG;this.YouTube=YouTube;this.Membro=Membro;this.eMail=eMail;this.Smile=Smile;this.CriaCaixa=CriaCaixa;function Negrito(){texto=prompt(dic_js.TextoNegrito,'');if(texto){this.campo.value+='[B]'+texto+'[/B] ';}};function Italico(){texto=prompt(dic_js.TextoItalico,'');if(texto){this.campo.value+='[I]'+texto+'[/I] ';}};function URL(){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 IMG(){texto=prompt(dic_js.ChamarImagem,'http://');if(texto){this.campo.value+='[IMG]'+texto+'[/IMG] ';}};function eMail(){email=prompt(dic_js.EmailCompleto);if(email){this.campo.value+='[EMAIL]'+email+'[/EMAIL] ';}};function YouTube(){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 Membro(){login=prompt(dic_js.MencionarUsuaria,'');if(login){this.campo.value+='[USR]'+login+'[/USR] ';}};function Smile(emoticon){this.campo.value+=' '+emoticon;};function PegaSelecao(){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 ListaSmiles(nomeClasse){var Smiles=new Object();Smiles[':D']='icon_biggrin.gif';Smiles[':S']='icon_confused.gif';Smiles['(H)']='icon_cool.gif';Smiles[':,(']='icon_cry.gif';Smiles[':|']='icon_eek.gif';Smiles['(6)']='icon_evil.gif';Smiles[':(']='icon_frown.gif';Smiles[':))']='icon_lol.gif';Smiles[':-/']='icon_mad.gif';Smiles['=D']='icon_mrgreen.gif';Smiles[':|']='icon_neutral.gif';Smiles[':>']='icon_razz.gif';Smiles[':$']='icon_redface.gif';Smiles['8-)']='icon_rolleyes.gif';Smiles[':(']='icon_sad.gif';Smiles[':)']='icon_smile.gif';Smiles[':-O']='icon_surprised.gif';Smiles['>=)']='icon_twisted.gif';Smiles[';)']='icon_wink.gif';Smiles['(->)']='icon_arrow.gif';Smiles['(?)']='icon_question.gif';Smiles['(!)']='icon_exclaim.gif';Smiles['(I)']='icon_idea.gif';Smiles['(L)']='coracao.gif';Smiles['(A)']='anjo.gif';Smiles['=((']='coracao_partido.gif';Smiles['(CL)']='aplausos.gif';Smiles[':o)']='palhaco.gif';for(smile in Smiles){document.write("<img src='"+cfg_IMAGEM+"/smiles/"+Smiles[smile]+"' border=0 alt='"+smile+"' title='"+smile+"' onClick='"+nomeClasse+".Smile(\""+smile+"\")' style='cursor:pointer;margin-right:5px;margin-bottom:2px' />");}};function CriaCaixa(x,y){var DivID=_DinD();Estilo(DivID).display='none';Estilo(DivID).width=x+'px';Estilo(DivID).height=y+'px';Estilo(DivID).backgroundColor='red';Estilo(DivID).top=mouseY;Estilo(DivID).left=mouseX;Estilo(DivID).zIndex=100;Estilo(DivID).position='absolute';Estilo(DivID).opacity=this.caixa_transparencia;Estilo(DivID).MozOpacity=this.caixa_transparencia;Estilo(DivID).filter='alpha(opacity='+this.caixa_transparencia*100+'%)';Estilo(DivID).display='block';return DivID;}};if(!isAll){document.captureEvents(Event.MOUSEMOVE);}
document.onmousemove=getMouseXY;var mouseX=0;var mouseY=0;function getMouseXY(e){if(isAll){mouseX=event.clientX+document.body.scrollLeft;mouseY=event.clientY+document.body.scrollTop;}else{mouseX=e.pageX;mouseY=e.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 AutoScrollTimeId=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(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!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 n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.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 axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=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(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;function MostraCampo(){var envialink=document.getElementById("envialink");var enviafield=document.getElementById("enviafield");envialink.style.display='none';enviafield.style.display='block';};function DevolveVideo(){var videodisplay=document.getElementById("DisplayVideo");videodisplay.style.display="block";};function ShowTemaField(){var inserirtema=document.getElementById("inserirtema");var temafield=document.getElementById("temafield");inserirtema.style.display='none';temafield.style.display='block';};function BolsaTV_Proximo(){if(BolsaTV_proximo!=null)
window.location=BolsaTV_proximo;};function BolsaTV_Playlist(video,acao){if(acao==null)acao='mais';pAJAX(cfg_URL+'/AJAX/video_seucanal.php?v='+video+'&acao='+acao,'<SCRIPT>');};function BolsaTV_PlaylistPop(video){var playlist=getCookie('BolsaTV_playlist');for(i=0;i<playlist.length;i++){if(video!=playlist[i]){saida.push(playlist[i])}}
setCookie('BolsaTV_playlist',saida,'/video');var total=parseInt(Objeto('totPlaylist').innerHTML);total--;Objeto('totPlaylist').innerHTML=total;};function correctPNG()
{for(var i=0;i<document.images.length;i++)
{var img=document.images[i];var imgName=img.src.toUpperCase();if(imgName.substring(imgName.length-3,imgName.length)=="PNG")
{var imgID=(img.id)?"id='"+img.id+"' ":"";var imgClass=(img.className)?"class='"+img.className+"' ":"";var imgTitle=(img.title)?"title='"+img.title+"' ":"title='"+img.alt+"' ";var imgStyle="display:inline-block;"+img.style.cssText;if(img.align=="left")imgStyle="float:left;"+imgStyle;if(img.align=="right")imgStyle="float:right;"+imgStyle;if(img.parentElement.href)imgStyle="cursor:hand;"+imgStyle;var strNewHTML="<span "+imgID+imgClass+imgTitle
+" style=\""+"width:"+img.width+"px; height:"+img.height+"px;"+imgStyle+";"
+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
+"(src=\'"+img.src+"\', sizingMethod='scale');\"></span>";img.outerHTML=strNewHTML;i=i-1;}}};if(isAll){window.attachEvent("onload",correctPNG);}
DropMenu=function(aba){this.SumirTempoEspera=150;this.SumirOnClick=true;this.SumirTimeout=false;this.Aba=aba;this.Sombra=document.createElement("IMG");this.Sombra.src=cfg_IMAGEM+"/layout/v2/sombra.png";this.DropMenu=DropMenu;this.Contem=Contem_isID;this.SumirAutomatico=SumirAutomatico;this.Sumir=Sumir;this.Aguardar=SumirRetardoTempo;this.LimpaTimeout=LimpaTimeout;this.Mostrar=Mostra;this.Sumir();function Mostra(){var navegador=new Navegador;Estilo(this.Aba).display='block';if(!navegador.IE||(navegador.IE&&parseInt(navegador.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 menuIframe=document.getElementById('menuIframe');var menuContainer=Objeto(this.Aba).parentNode;menuIframe.style.left=parseInt(menuContainer.offsetLeft)+parseInt(Objeto(this.Aba).offsetLeft)+'px';menuIframe.style.top=parseInt(menuContainer.offsetTop)+parseInt(Objeto(this.Aba).offsetTop)+'px';menuIframe.style.width=parseInt(Objeto(this.Aba).offsetWidth)+'px';menuIframe.style.height=parseInt(Objeto(this.Aba).offsetHeight)+'px';menuIframe.style.display='block';};function Contem_isID(){while(Objeto(this.Aba).parentNode){if(Objeto(this.Aba).parentNode==Objeto(this.Aba)){return true;}
return false;}};function SumirAutomatico(){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 Sumir(){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 SumirRetardoTempo(){if(isAll||isID){this.SumirTimeout=setTimeout(this.Aba+".Sumir()",this.SumirTempoEspera);}};function LimpaTimeout(){if(typeof this.SumirTimeout!="undefined"){clearTimeout(this.SumirTimeout)}}}