function toggleHeader(headerID) { // Headers
	for (i = 1; i<=4; i++) {
		currentID = "HD" + i;
		if (document.getElementById) { // DOM3 = IE5, NS6
			if (document.getElementById(currentID) && document.getElementById(currentID).style.display == "none" && currentID==headerID){
				document.getElementById(currentID).style.display = "block";
			} else if(document.getElementById(currentID)) {
				document.getElementById(currentID).style.display = "none";			
			}	
		} else { 
			if (document.layers) {	
				if (document.currentID.display == "none" && currentID==headerID){
					document.currentID.display = "block";
				} else {
					document.currentID.display = "none";
				}
			} else {
				if (document.all.currentID.style.visibility == "none"){
					document.all.currentID.style.display = "block";
				} else {
					document.all.currentID.style.display = "none";
				}
			}
		}
	}
}

function toggleImgHeader(imageID)
{
	for (i = 1; i<=5; i++) {
		currentID = "IMGHD" + i;
		if (document.getElementById) { // DOM3 = IE5, NS6
			if (document.getElementById(currentID) && currentID==imageID){
				document.getElementById(currentID).src = "../img/internas/btn_imghd" + i + "1.gif";
			} else if(document.getElementById(currentID)) {
				document.getElementById(currentID).src = "../img/internas/btn_imghd" + i + ".gif";
			}	
		} else {
			if (document.images){
				if (document.images[currentID]!=null && currentID==imageID) {
					document.images[currentID].src = "../img/internas/btn_imghd" + i + "1.gif";
				} else {
					document.images[currentID].src = "../img/internas/btn_imghd" + i + ".gif";
				}
			}
		}
	}
}
function toggle2(idtab) { // tabs
	for (i = 1; i<=3; i++) {
		id = "IMG" + i;
		if (document.getElementById) { // DOM3 = IE5, NS6
			if (document.getElementById(id) && document.getElementById(id).style.display == "none" && id==idtab){
				document.getElementById(id).style.display = "block";
				//filter(("img"+id),'imgin');			
			} else if(document.getElementById(id)) {
				//filter(("img"+id),'imgout');
				document.getElementById(id).style.display = "none";			
			}	
		} else { 
			if (document.layers) {	
				if (document.id.display == "none" && id==idtab){
					document.id.display = "block";
					//filter(("img"+id),'imgin');
				} else {
					//filter(("img"+id),'imgout');	
					document.id.display = "none";
				}
			} else {
				if (document.all.id.style.visibility == "none"){
					document.all.id.style.display = "block";
				} else {
					//filter(("img"+id),'imgout');
					document.all.id.style.display = "none";
				}
			}
		}
	}
}

