function wxyopen(uri,x,y)
{
	window.open(uri,'',"resizable=yes, scrollbars=yes, status=yes, height="+y+", width="+x);
}
function addComment(obj, comment){
	obj.value += ' /r/n ' + comment;
	alert(obj.value);
}
function showCont(id){
	document.getElementById('choose').style.display='none';
	for(i=1;i<22;i++){
		if(i == id){
			document.getElementById('art-'+id).style.display='block';
			cont = document.getElementById('lnk-'+id);
			cont.className = 'active';
			cont.parentNode.className = 'art-cur';
		}else{
			document.getElementById('art-'+i).style.display='none';
			cont = document.getElementById('lnk-'+i);
			cont.className = 'linked';
			cont.parentNode.className = 'art-link';
			cont.href = '#show-branch-'+i;
		}
	}
}
