	window.onload = function() {
	my_anchors = document.getElementsByTagName("a");
  for (a=0;a<my_anchors.length;a++) {
        my_a = my_anchors[a];
       if(my_a.getAttribute('rel')!=""){
				 aux=my_a.getAttribute('rel');
				 go(my_a);
 
	}
	   }
	}
	
	
function go(ref)
{
ref.onclick = function() {
       
if (document.getElementById(this.getAttribute('rel')+"_info").style.display=="none")
{document.getElementById(this.getAttribute('rel')+"_info").style.display="block";}
else {document.getElementById(this.getAttribute('rel')+"_info").style.display="none";}
 }		
		}

