function buildFlash(swfLocation,x,y,swfMode, variaveis){
var swfLocation, x, y, swfMode, variaveis;
if(variaveis == undefined || variaveis.length < 1) variaveis = '';
document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+x+'" height="'+y+'">');
document.write('  <param name="movie" value="'+swfLocation+'.swf'+variaveis+'" />');
document.write('  <param name="quality" value="best" />');
document.write('  <param name="wmode" value="'+swfMode+'" />');
document.write('  <embed src="'+swfLocation+'.swf'+variaveis+'" wmode="'+swfMode+'" quality="best" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+x+'" height="'+y+'"></embed>');
document.write(' </object>');
}
DEcfg ="site=par&affiliate=parofuxico&subchan=outros";
var DEpopcfg ="POPparofuxico";
Expble = 1;
DEd=document; function DEshow(ad,pos){
DErand = Math.floor(1000000*Math.random()); DEconn=DEd.body; DEconn.style.behavior='url(#default#clientCaps)'; DEconn = (DEconn.connectionType=='lan')?1:0;
DEd.write('<SCR'+'IPT LANGUAGE="JavaScript1.1" SRC="http://de.uol.com.br/js.ng/'+DEcfg+'&size='+ad+'&page='+pos+'&conntype='+DEconn+'&expble='+Expble+'&ord='+DErand+'?"></SCR'+'IPT>');
}
function popUp(url,x,y,hasScroll) {
  window.open(url,'popUp','status=yes,resizable=no,width='+x+',height='+y+',scrollbars='+hasScroll);
}
function addbookmark() {
bookmarkurl="http://www.caras.com.br/";
bookmarktitle="Revista Caras";
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle);
}
function fsize(x){
if(x==1) x = 'txt-normal'
if(x==2) x = 'txt-medium'
if(x==3) x = 'txt-large'
document.getElementById("secao-colunas").className =x;
}

function sendNews(){
 popUp('/sendnews.php?URL=' + document.location.href,291,187,'no');
}
function getSelectValue(){ 
sexo = document.namoroForm.sexo[document.namoroForm.sexo.selectedIndex].value 
switch(parseInt(sexo)) { 
case 1:document.namoroForm.action = 'http://maestro.datingplace.com/predicta/mfa/go/img/;s=194;c=147;a=1;l=1;p=6;n=0;b=1450;ct=http://fuxico.parperfeito.com.br/adsearch/search.jsp?gender=1&agerange=18-24&stateb=26&image2.x=44&image2.y=10' 
break ;
case 2:document.namoroForm.action = 'http://maestro.datingplace.com/predicta/mfa/go/img/;s=194;c=147;a=1;l=1;p=6;n=0;b=1451;ct=http://fuxico.parperfeito.com.br/adsearch/search.jsp?gender=2&agerange=18-24&stateb=26&image2.x=35&image2.y=8' 
break; 
}
return true} 
function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
function openPopupGaleria(theURL) { //v2.0
  window.open(theURL,'Galeria','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=644,height=465');
}
