try
{
oAcro7=new ActiveXObject('AcroPDF.PDF.1');
if (oAcro7)
{
acrobat.installed=true;
acrobat.version='7.0';
displayString = 'Acrobat Version: '+acrobat.version;
}
}
catch(e) {}
}
if (! displayString) { //do sthg, no acrobat available } else { //acrobat is installed, go ahead and show your pdf}
displayString = 'Acrobat Installed: Information Not Available';
}
</code>
this code will detect all acrobat versions up to this time on MS boxes. Mac users will have to take care of themselves, sorry :)