function openWin(URL,winName,features) { //v2.0
  window.open(URL,winName,features);
}
  function Hoje(){
     var mesnome = new Array();
     mesnome[0] = "JAN";
     mesnome[1] = "FEV";
     mesnome[2] = "MAR";
     mesnome[3] = "ABR";
     mesnome[4] = "MAI";
     mesnome[5] = "JUN";
     mesnome[6] = "JUL";
     mesnome[7] = "AGO";
     mesnome[8] = "SET";
     mesnome[9] = "OUT";
     mesnome[10] = "NOV";
     mesnome[11] = "DEZ";
     var hoje = new Date()
     var ano = hoje.getYear()
     if (ano<2000){ ano+=1900; }
     var mes = hoje.getMonth()
     var dia = hoje.getDate()
     var str = ""+dia+" "+mesnome[mes]+"&nbsp;"+ano;
     return str;
  }

  function linkjcs(canal) {
     var hoje = new Date();
     var ano = hoje.getYear();
     if (ano<2000){ ano+=1900; }
     var mes = (hoje.getMonth() + 1);
     if (mes < 10) { mes = "0" + mes; }
     var dia = hoje.getDate()
     if (dia < 10) { dia = "0" + dia; }
     var linke = "http://www.jcsol.com.br/" + ano + "/" + mes + "/" + dia + "/" + canal + ".php"
     document.location = linke;
  }

function mudafonte(x){
if(x==1) x = 10
if(x==2) x = 11
if(x==3) x = 12
	document.getElementById("xft").style.fontSize = x;
	if(typeof td_content1!= 'undefined' && typeof td_content2!= 'undefined'){
		document.getElementById("esporte").style.fontSize = x;
		document.getElementById("esporte").style.fontSize = x;
	}
}

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; }
}
