
function testing() {

	var introBlocker = document.getElementById("introBlocker");
	reduceOpacity(introBlocker.style, 100, 0);

}


function reduceOpacity(elementID, currentOpacity, targetOpacity) {
	
	blockerStyle = document.getElementById(elementID).style;
	
	blockerStyle.opacity =  currentOpacity/100;
	blockerStyle.filter  = "alpha(opacity="+ currentOpacity +")";		
	
	currentOpacity--;
	
	if (currentOpacity > 0) {
		
		var x = "reduceOpacity(\""+elementID+"\", "+currentOpacity+", "+targetOpacity+")";
		setTimeout(x, 10);
		
	}
	else {
	
		blockerStyle.display = "none";
		var introMov = document.getElementById("intro-movie");
		introMov.style.display = "none";
	
	}
		
}
