
	var blendinwert = 50;
	var activeObject = null;
	
	function blendin(){
		transparency(activeObject,blendinwert)
		blendinwert=blendinwert-3;
		if(blendinwert > 0)
			window.setTimeout("blendin()",5);
	}

	function startBlendin(obj){
		shouldHide = true;		
		hideNow();
		shouldHide = false;
		
		if(obj == null)
			return;
		blendinwert=100;
		transparency(obj, blendinwert);
		o = document.getElementById(obj);
		o.style.visibility = "visible";

		activeObject = o;

		window.setTimeout("blendin()",4);
	}

var shouldHide = false;

function hideSub(){
	shouldHide = true;
	window.setTimeout("hideNow()", 1000);
}

function hideNow(){
	if(activeObject != null && shouldHide == true)
		activeObject.style.visibility = "hidden";
	if(activeObjectSub != null && shouldHide == true)
		activeObjectSub.style.visibility = "hidden";
}

function dontHide(){	
	shouldHide=false;	
}




	var blendinwertSub = 50;
	var activeObjectSub = null;

	function startBlendinSub(objSub){
		oSub = document.getElementById(objSub);
		oSub.style.visibility = "visible";
		activeObjectSub = oSub;

	}


