﻿
//Visualise the loading of an iframe.
//The Script shows the "loading" div until the "contentToLoad" div is fulle loaded.

	function showContentToLoad()
	{
	    if (document.getElementById("loading") != null && document.getElementsByName("contentToLoad") != null) 
	    {
	        try
	        {
	            document.getElementById("loading").style.display = 'none';
	            document.getElementsByName("contentToLoad").style.display = 'block';
	        }
	        catch(ex){}
	    }
	}
	window.onload = showContentToLoad;
