var acrobat=new Object();
acrobat.installed=false;
acrobat.version='0.0';
if (navigator.plugins && navigator.plugins.length)
{
for ( var x = 0, l = navigator.plugins.length; x < l; ++x )
{
if (navigator.plugins[x].description.indexOf('Adobe Acrobat') != -1)
{
acrobat.version = parseFloat(navigator.plugins[x].description.split('Version ')[1]);
if (acrobat.version.toString().length == 1) acrobat.version+='.0';									acrobat.installed=true;
break;
}
}}
else if (window.ActiveXObject)
{
for (x=2; x<10; x++)
{
try
{
oAcro=eval("new ActiveXObject('PDF.PdfCtrl."+x+"');");
if (oAcro)
{
acrobat.installed=true;
acrobat.version=x+'.0';
}
}
catch(e)
{}
}
try
{
oAcro4=new ActiveXObject('PDF.PdfCtrl.1');
if (oAcro4)
{
acrobat.installed=true;
acrobat.version='4.0';
}
}
catch(e)
{}
try
{
oAcro7=new ActiveXObject('AcroPDF.PDF.1');
if (oAcro7)
{
acrobat.installed=true;
acrobat.version='7.0 or above';
}
}
catch(e)
{}
}




// JavaScript to write the acrobat-sidepanel(english) into the document
document.write('<img src="/oam-site-plugin-acrobat.gif" alt="Get the Acrobat Reader" width="168" height="31" border="0" />');
document.write('<h3>To view the OAM product datasheets, you will need Acrobat Reader from Adobe.</h3>');
document.write('<p>You can use the links below to download and install Acrobat.</p>');
document.write('<ul class="arrow-marker">');
docLocation = new String(document.location);
docLocation=docLocation.toLowerCase();
if(docLocation.indexOf("?")!=-1){docLocationUrlOnly=docLocation.split("?");docLocation=docLocationUrlOnly[0];}
if(docLocation.indexOf("file://")!=-1)
	{
document.write('<li><a href="http://www.adobe.com/products/acrobat/readstep2_allversions.html"  title="Adobe Acrobat Reader">Click Here</a></li>');
//document.write('<li><a href="/resources/redist/acrobat/AdbeRdr602_distrib_enu.exe"  title="Adobe Acrobat Reader 6.0.2">English for Windows</a></li>');
//document.write('<li><a href="http://ardownload.adobe.com/pub/adobe/reader/mac/6.x/6.0/enu/AdbeRdr60_enu_full.dmg"  title="Adobe Acrobat Reader 6.0.1">English for Macintosh</a></li>');
//document.write('<li><a href="/resources/redist/acrobat/AdbeRdr60_ita_full.exe"  title="Adobe Acrobat Reader 6.0.1">Italian for Windows</a></li>');
//document.write('<li><a href="http://ardownload.adobe.com/pub/adobe/reader/mac/6.x/6.0/ita/AdbeRdr60_ita_full.dmg"  title="Adobe Acrobat Reader 6.0.1">Italian for Macintosh</a></li>');								
	}
 else
	{
document.write('<li><a href="http://www.adobe.com/products/acrobat/readstep2_allversions.html"  title="Adobe Acrobat Reader">Click Here</a></li>');
}
document.write('</ul>');
document.write('<div class="hr"></div>');
if (acrobat.installed)
	{
document.write('<h3>You have Acrobat installed<br>(version ' + acrobat.version + '.</h3>');
	}
else
	{
document.write('<h3>You do not have Acrobat installed.</h3>');
	}
document.write('<div class="hr"></div>');




document.write('<img src="/oam-site-plugin-flash.gif" alt="Get the Flash Player" width="168" height="31" border="0" />');
document.write('<h3>To view the multimedia on the OAM website, you will need Flash Player 7 from Macromedia.</h3>');
document.write('<p>You can use the links below to download and install Flash.</p>');
document.write('<ul class="arrow-marker">');
if(docLocation.indexOf("file://")!=-1)
	{
document.write('<li><a href="http://www.macromedia.com/go/fl_sw_exe_installer"  title="Flash Player 7">Click Here</a></li>');
//document.write('<li><a href="/resources/redist/shockwave/mm_fl_sw_installer.exe"  title="Flash Player 7">Flash 7 for Windows</a></li>');
	}
else
	{
document.write('<li><a href="http://www.macromedia.com/go/fl_sw_exe_installer"  title="Flash Player 7">Click Here</a></li>');
	}
document.write('</ul>');
document.write('<div class="hr"></div>');
if (i_flash)
	{
	document.write("<h3>You have Flash installed.</h3>")
	}
else
	{
document.write("<h3>You do not have Flash installed.</h3>")
	}

document.write('<script type="text/javascript" language="javascript1.2" src="/oam-contacts.js"> ');
document.write('<\/script>');




