		//*************************************************************************************
		//
		//  This function looks for list item tags within the plugins div tag.  
		//  This tag should be located in the footer.
		//  The tags will list filetypes and if those filetypes are found on the page
		//   it will show the corresponding needed plugin.
		//
		//*************************************************************************************
     
		  var boolShowPluginLink = false;
				   
		  function showActivePlugins(){
			  var intCount = 0;
				var arrPlugins = document.getElementById("plugins").getElementsByTagName("li");
			 //  var arrPlugins = document.getElementById("plugins").getElementById("pluginLink*");
			  var arrLinks = document.links;
			  var arrActivePlugins = new Array();
			  var boolIsActiveExt;
			  
			  for(i=0;i<arrPlugins.length;i++){
				  arrPlugins[i].style.display = "none";
				  currentFileExt = arrPlugins[i].id.replace(/pluginLink-/i,".");
				  boolIsActiveExt = false;
				  
				  for(j=0;j<arrLinks.length;j++){
					  currentArrLink = arrLinks[j].href.toLowerCase();
					  if (currentArrLink.indexOf(currentFileExt)!=-1) boolIsActiveExt = true;
				  }
				  
				  if(currentFileExt == ".swf" && boolShowPluginLink)boolIsActiveExt = true; 
				  
				  if(boolIsActiveExt){
					  arrActivePlugins[intCount] = arrPlugins[i];
					  intCount++;
				  }    		
			  }
			  
			  for(i=0;i<arrActivePlugins.length;i++){
				  arrActivePlugins[i].style.display = "inline";
				  if (i == 0) arrActivePlugins[i].innerHTML = "[ " + arrActivePlugins[i].innerHTML;
				  if (i < (arrActivePlugins.length-1)) arrActivePlugins[i].innerHTML += ", ";
				  if (i == arrActivePlugins.length-1) arrActivePlugins[i].innerHTML += " ]";
				  //alert(arrActivePlugins[i].innerHTML);
			  }
			  
			  if(arrActivePlugins.length == 0)document.getElementById("plugins").style.display = "none";	
				  
		  }
	
