// JavaScript Document
		function switchCategory(x, n, c) {
			var a;
			var b;
			var teaser;
			var cid;
			var arrow_act = 'url(typo3conf/ext/ff_teaser/res/img/arrow_active_bow.jpg)';
			var arrow_inact = 'url(typo3conf/ext/ff_teaser/res/img/arrow_inactive_bow.jpg)';

			for(a = 0; a < n; a++) {
				b = a+1;
				teaser = 'teaser' + b;
				cid = 'c_' + b;
				document.getElementById(teaser).style.display = "none";
				document.getElementById(cid).style.backgroundImage = arrow_inact;
				document.getElementById(cid).style.fontWeight = "normal";
		//		document.getElementById(cid).style.backgroundColor = "#e3e4e8";
		//		document.getElementById(cid).style.borderBottomColor = "#e3e4e8";
			}
			document.getElementById(x).style.display = "block";
			document.getElementById(c).style.backgroundImage = arrow_act;
			document.getElementById(c).style.fontWeight = "bold";
	//		document.getElementById(c).style.backgroundColor = "#FFFFFF";
	//		document.getElementById(c).style.borderBottomColor = "#FFFFFF";
		}
		function switchTeaser(x, id, n) {
			var a;
			var b;
			var teaser;
			var teaser_a;
			var teaser_b;
			for(a = 0; a < n; a++) {
				b = a+1;
				teaser_a = x + '_' + b + '_a';
				teaser_b = x + '_' + b + '_b';
				document.getElementById(teaser_a).style.display = "block";
				document.getElementById(teaser_b).style.display = "none";
			}
			var new_teaser = x+'_'+id+'_a';
		//	alert(new_teaser);
			document.getElementById(x+'_'+id+'_a').style.display = "none";
			document.getElementById(x+'_'+id+'_b').style.display = "block";
		}
