function switchid(id1,id2){	
	hidediv(id2);
	showdiv(id1);
}

function hideMultiIDs(idList){
	aIDList = idList.split(",");
	alert(aIDList);
	for (var i=0;i<aIDList.length;i++){
		hidediv(aIDList[i]);
	}		  
}

function hidediv(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 showdiv(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';
		}
	}
}
function popImgBrowser(url) {
	var breite=640; 
	var hoehe=550; 
	var positionX=((screen.availWidth / 2) - breite / 2); 
	var positionY=((screen.availHeight / 2) - hoehe / 2); 
	pop=window.open('','magiePopUp','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,fullscreen=0,width='+breite+',height='+hoehe+',top=0,left=0'); 
	pop.focus(); 
	pop.resizeTo(breite,hoehe); 
	pop.moveTo(positionX,positionY); 
	pop.location=url; 
}