	
	//FLASH - WEB INTERFACE
	////////////////////////////////////////////
	//media containers
	var strCurrentMediaList = -1;	
	
	//contains id of all containers that has to be shut down in order to display DisplayContainer properly
	var arrDisplayShutdown = new Array();
	
	//ToolTip
	function fjsToolTip(strText){
		var objTextContainer;
		if (document.getElementById("Tooltip")){
			//get container
			objTextContainer = document.getElementById("Tooltip");
			//update HTML
			objTextContainer.innerHTML = strText;			
		}
	}
	
	function fjsDisplay(what_str){
		switch(what_str){
			case "platform":
				document.getElementById("FlashPlatform").style.display = "block";
				if (document.getElementById(strCurrentMediaList)){
					document.getElementById(strCurrentMediaList).style.display = "none";
				}
				if (document.getElementById("DisplayContainer")){
					fjsDisplayContainerClose();
				}
				break;
			case "close":
				//clear tooltip
				fjsToolTip('');
				
				if (document.getElementById("FlashPlatform")){
					document.getElementById("FlashPlatform").style.display = "none";
				}
				if (document.getElementById("DisplayContainer")){
					fjsDisplayContainerClose();
				}
				//open all containers closed by displaycontainer
				for(var i=0; i < arrDisplayShutdown.length; i++){
					document.getElementById(arrDisplayShutdown[i]).style.display = "block";
				}
				//reset array
				arrDisplayShutdown = new Array();
				break;
		}
	}				
			
	
