//here you place the ids of every element you want.
var ids3=new Array('bond1','bond2','bond3','bond4','bond5','bond6','bond7','bond8','bond9','bond10');

function switchid3(id){	
	hideallid3();
	showdiv3(id);
}

function hideallid3(){
	//loop through the array and hide each element by id
	for (var i=0;i<ids3.length;i++){
		hidediv3(ids3[i]);
	}		  
}

function hidediv3(id) {
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'none';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'none';
		}
		else { // IE 4
			document.all.id.style.display = 'none';
		}
	}
}

function showdiv3(id) {
	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'block';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'block';
		}
		else { // IE 4
			document.all.id.style.display = 'block';
		}
	}
}
