

/* --------------------------- teaser blocks: */
function changeTeaserBlocks(status,id, bgcolor_on, bgcolor_off, textcolor_on, textcolor_off) {
	var div = document.getElementById('dif'+id);
	var div_txt = document.getElementById('dif'+id).getElementsByTagName('p')[0];


	if(status == '1') {
		div_txt.style.color = textcolor_on;
		div.style.background = bgcolor_on;
		
	} else {
		div_txt.style.color = textcolor_off;
		div.style.background = bgcolor_off;
	}
}
function changeTeaserBlocks_04(status,id, bgcolor_on, bgcolor_off, textcolor_on, textcolor_off) {
	var div = document.getElementById('dif'+id);
	var div_txt = document.getElementById('dif'+id).getElementsByTagName('p')[0];
	if(status == '1') {
		div_txt.style.color = textcolor_on;
		div.style.background = bgcolor_on;
		div.style.backgroundImage = "url(img/shapes/mouse_icon_over.gif)";
		div.style.backgroundPosition = 'bottom right';
		
	} else {
		div_txt.style.color = textcolor_off;
		div.style.background = bgcolor_off;
		div.style.backgroundImage = "url(img/shapes/mouse_icon.gif)";
		div.style.backgroundPosition = 'bottom right';
	}
}


/*
addLoadEvent(function() {
	
	for(var i=1; i<17; i++) {
		var blok = document.getElementById('dif'+i);
		if(blok) {
			//bestaat
			
			blok.onclick = function() {
			
			};
			
			blok.onclick = function() {
			
			};
			
			blok.onclick = function() {
			
			};
			
			
			
		}
	}
	

});
*/

