	var	pageLoaded	=	false;

	function	setup()
	{
		tn.init();
		an.init();
		initSidebar();
		initScrollers();

		pageLoaded	=	true;
	}
	
	function installPatSidebar()
	{ 
		if (typeof window.sidebar == "object") 
		{
			if (typeof window.sidebar.addPanel == "function") 
				window.sidebar.addPanel ("PHP Application Tools", "http://www.php-tools.net/sidebar/",""); 
			else 
				alert("The patSidebar can only be installed in Mozilla and Netscape 6+. We recommend Mozilla!" ); 
		} 
	} 
		
	function toggleRssD( itemid )
	{
		if( !document.getElementById )
			return true;
			
		var el	=	document.getElementById( "rssd"+itemid );
		
		if( !el )
			return true;
		
		if( el.style.display == "none" )
		{
			el.style.display = "block";
		}
		else
		{
			el.style.display = "none";
		}
	}
	
	function expandRssD( channelid )
	{
		var el		=	false;
		var count	=	1;

		while( el = document.getElementById( "rssd"+channelid+count ) )
		{
			el.style.display = "block";
			count++;
		}
	}
	
	function collapseRssD( channelid )
	{
		var el		=	false;
		var count	=	1;

		while( el = document.getElementById( "rssd"+channelid+count ) )
		{
			el.style.display = "none";
			count++;
		}
	}

