	/* ipit.biz 1.0  */
	/* Ultima actualización 17 Diciembre 2005  */

dedes = document.getElementsByTagName('dd');
numero = dedes.length;

for (x=1; x<numero+1; x++)
{
	document.getElementById("punto"+x).style.display="none";
}

function veronover(definicion) {
	if (document.getElementById(definicion))
		document.getElementById(definicion).style.display= (document.getElementById(definicion).style.display=="block"? "none": "block");
}


$(document).ready(function(){
	$('a#acc1').toggle(function(){
		$("#punto1").show('slow'); 
	}, 	function(){	
		$("#punto1").hide('slow');
	});
	
	$('a#acc2').toggle(function(){
		$("#punto2").show('slow'); 
	}, 	function(){	
		$("#punto2").hide('slow');
	});
	
	$('a#acc3').toggle(function(){
		$("#punto3").show('slow'); 
	}, 	function(){	
		$("#punto3").hide('slow');
	});
	
	$('a#acc4').toggle(function(){
		$("#punto4").show('slow'); 
	}, 	function(){	
		$("#punto4").hide('slow');
	});
	
	$('a#acc5').toggle(function(){
		$("#punto5").show('slow'); 
	}, 	function(){	
		$("#punto5").hide('slow');
	});

	$("input, textarea").focus(function() {
		$(this).select();
	});


});



function pon_ver() {
	parte = document.getElementById('web');
	enlaces = parte.getElementsByTagName('A');
	cuantos = enlaces.length;

	if (parte.addEventListener)
	{
		for(i=0; i < cuantos; i++) {
			enlaces[i].addEventListener("click", veronover("punto"+(i+1)));
			}
	} else {
		for(i=0; i < cuantos; i++) {
			enlaces[i].attachEvent("onclick", veronover("punto"+(i+1)));
			}
	}	
}