
 
function checkPDF_plugin(PDFpath, top, left)
  {
    if (pluginlist.indexOf('Acrobat Reader')!=-1)
    {
    window.location = PDFpath;	
    }
    else 
    {
	 
      document.getElementById('PDF_error').style.display = 'block';
      display('PDF_error', 'block');
      document.getElementById('PDF_error').style.top = top+'px';
      document.getElementById('PDF_error').style.left = left+'px';
	  document.getElementById('download_PDF').innerHTML='<a href="'+PDFpath+'" target="_blank">Download the PDF document.</a>';
	  
    }
  }
 

function display(ID, DISPLAY_VALUE)
	{
		document.getElementById(ID).style.display = DISPLAY_VALUE;
	}
 

