function enviarVoto(theURL,winName,artVotado,w,h) { 
  var punts, i;
  var winl = (screen.width - w) / 2;
  var wint = (screen.height - h) / 2;
  var features = 'height=' + h + ',';

  features +='width=' + w + ',';
  features += 'top=' + wint + ',';
  features += 'left=' + winl + ',';
  features += 'resizable=no,';
  features += 'location=0';
    
  for(i=0;i<document.form2.nota.length;i++)
  {
    if (document.form2.nota[i].checked)
    {
      punts = document.form2.nota[i].value;
	}
  }
  theURL += "?ptos=" + punts + "&artVotado=" + artVotado;
  window.open(theURL,winName,features);
}

function abrirImprimir(theURL,winName,param)
{
  var features = 'location=0,width=1,height=1,top=0,left=0'
  
  theURL += "?articulo=" + param;
  window.open(theURL,winName,features);
}

function abrirCentrado(theURL,winName,w,h,scroll)
{
  var winl = (screen.width - w) / 2;
  var wint = (screen.height - h) / 2;
  var features = 'height=' + h + ',';

  features +='width=' + w + ',';
  features += 'top=' + wint + ',';
  features += 'left=' + winl + ',';
  features += 'resizable=no,';
  features += 'location=0,';
  features += 'scrollbars=' + scroll;
  window.open(theURL,winName,features);
}

function agregar(){
   if ((navigator.appName=="Microsoft Internet Explorer") && 
         (parseInt(navigator.appVersion)>=4)) {
      var url="http://www.enbuenasmanos.com"; 
      var titulo="Portal de salud";
      window.external.AddFavorite(url,titulo);
   } else { 
      if(navigator.appName == "Netscape") 
         alert("Presione Crtl+D para agregar este sitio en sus Bookmarks"); 
   }
} 

function enlaces(URL)
{
	window.open(URL)
}

function Banner(Id)
{
	window.open(Id)
}

