\n');
}
//****************************************************************************
//****************************************************************************
//****************************************************************************
//do pdf plugin detection
var PDF;
var PDFcontentVersion = 5;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/pdf"]) ? navigator.mimeTypes["application/pdf"].enabledPlugin : 0;
if ( plugin ) {
if(platform == 'WIN'){
var words = navigator.plugins["Adobe Acrobat"].description.split(" ");
}
else if (platform == 'MAC') {
var words = navigator.plugins["PDFViewer"].description.split(" ");
}
for (var i = 0; i < words.length; ++i)
{
if (isNaN(parseInt(words[i])))
continue;
var PDFPluginVersion = words[i];
}
var PDFCanPlay = PDFPluginVersion >= PDFcontentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
&& (navigator.appVersion.indexOf("Win") != -1)) {
document.write(' \n'); //FS hide this from IE4.5 Mac by splitting the tag
document.write('on error resume next \n');
document.write('PDFCanPlay = ( IsObject(CreateObject("PDF.PdfCtrl." & PDFcontentVersion)))\n');
document.write(' \n');
}
if ( PDFCanPlay ) {
//alert("its all good");
PDF = true;
} else{
//alert("something's missing");
PDF = false;
}
//-->