function setActiveStyleSheet(title) {
	var i, a, main;
	for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
		if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
			a.disabled = true;
			if(a.getAttribute("title") == title) a.disabled = false;
		}
	}
	var small, norm, large;
	small = document.getElementById('fontsmall');
	norm = document.getElementById('fontnormal');
	large = document.getElementById('fontlarge');
	
		
	var smallfontlink = document.getElementById("smallfontlink");
	var normalfontlink = document.getElementById("normalfontlink");
	var largefontlink = document.getElementById("largefontlink");
	
	smallfontlink.setAttribute('title', articlesmallfont);
	normalfontlink.setAttribute('title', articlenormalfont);
	largefontlink.setAttribute('title', articlelargefont);
	
	if (title == 'small') {
		small.src='/images/toolbar-fonts-small-active.png';
		norm.src='/images/toolbar-fonts-normal.png';
		large.src='/images/toolbar-fonts-large.png';
		smallfontlink.setAttribute('title', articlesmallfontselected);
	}
	else if  (title == 'normal'){
		small.src='/images/toolbar-fonts-small.png';
		norm.src='/images/toolbar-fonts-normal-active.png';
		large.src='/images/toolbar-fonts-large.png';
		normalfontlink.setAttribute('title', articlenormalfontselected);
	} 
	else if  (title == 'large'){
		small.src='/images/toolbar-fonts-small.png';
		norm.src='/images/toolbar-fonts-normal.png';
		large.src='/images/toolbar-fonts-large-active.png';
		largefontlink.setAttribute('title', articlelargefontselected);
	} 
}
