	// <![CDATA[
	
	var fileTypes = new Object();
	
	fileTypes['ppt'] = new Object();
	fileTypes['excel'] = new Object();
	fileTypes['pdf'] = new Object();
	
	fileTypes['ppt']['out'] = '/images/icons/icon-ppt-out.gif' ;
	fileTypes['ppt']['over'] = '/images/icons/icon-ppt-over.gif' ;
	
	fileTypes['excel']['out'] = '/images/icons/icon-excel-out.gif' ;
	fileTypes['excel']['over'] = '/images/icons/icon-excel-over.gif' ;
	
	fileTypes['pdf']['out'] = '/images/icons/icon-pdf-out.gif' ;
	fileTypes['pdf']['over'] = '/images/icons/icon-pdf-over.gif' ;
	
	function initPanels(arr)
	{
		
		for (i = 0 ; i < arr.length ; i++)
		{
			var ref = document.getElementById( arr[i][0] ) ;
			
			ref.onmouseover = function()
			{
				this.style.backgroundColor = "rgb(255,144,0)" ;
				
			}
			
			ref.onmouseout = function()
			{
				this.style.backgroundColor = "rgb(74,74,74)" ;
			}
			
			ref.onclick = function()
			{	
				this.style.backgroundColor = "rgb(74,74,74)" ;

				_tmp = this.id.split('-');
				location.href= ids[_tmp[1]-1][1] ;
			}
		}
	}
	
	
	function initDownloadPanels(arr)
	{
		
		for (i = 0 ; i < arr.length ; i++)
		{
			var ref = document.getElementById( arr[i][0] ) ;
			
			
			ref.onmouseover = function()
			{
				
				_tmp = this.id.split('-') ;
				
				icon = fileTypes[ ids[_tmp[1]-1][2] ]['over'];
				
				this.style.background = "rgb(255,144,0) url("+icon+") no-repeat 20px 10px" ;
				
			}
			
			ref.onmouseout = function()
			{
				_tmp = this.id.split('-') ;
				
				icon = fileTypes[ ids[_tmp[1]-1][2] ]['out'];
				
				this.style.background = "rgb(74,74,74) url("+icon+") no-repeat 20px 10px" ;
			}
			
			ref.onclick = function()
			{	
				_tmp = this.id.split('-') ;
				
				icon = fileTypes[ ids[_tmp[1]-1][2] ]['out'];
				
				this.style.background = "rgb(74,74,74) url("+icon+") no-repeat 20px 10px" ;

				location.href= ids[_tmp[1]-1][1] ;
			}
		}
	}
	
	// ]]>