var agt = navigator.userAgent.toLowerCase();
var imagePath = "loadPlugin";
var playerWidth = "0";
var playerHeight = "0";
if (is_ie)
{
   if ( navigator.userAgent.indexOf("SV1") != -1 )
   {
      document.writeln('<img alt="Virtools Installer" src="images/winxpsp2.jpg" border="0" />');   
   }
   else   
   {
      document.writeln('<img alt="Virtools Installer" src="images/winxp.jpg" border="0" />');   
   }
}
else if (is_gecko)
{
   document.write('<a href="http://player.virtools.com/" target="_blank"><img alt="Virtools Installer" src="images/virtools.jpg" border="0" /></a>');
   playerWidth = "12";
   playerHeight = "12";
}
else
{
   document.writeln('<a href="http://player.virtools.com/" target="_blank"><img alt="Virtools Installer" src="images/virtools.jpg" border="0" /></a>');
}

var parameters = escape("default.aspx?fromInstall");
document.write("<OBJECT");
document.write(" CLASSID=\"CLSID:D4323BF2-006A-4440-A2F5-27E3E7AB25F8\"");
document.write(" ID=\"Virtools\" WIDTH=\"" + playerWidth + "\" HEIGHT=\"" + playerHeight + "\"");
document.write(" CODEBASE=\"http://a532.g.akamai.net/f/532/6712/5m/virtools.download.akamai.com/6712/player/install3.5/installer.exe#version=3,5,0,32\">");
document.write("<PARAM NAME=\"SRC\" VALUE=\"Install.vmo?returnurl=" + parameters + "\"");
document.write("<PARAM NAME=\"bgcolor\" VALUE=\"#A8B1B8\">");
document.write("<EMBED ");
document.write("SRC=\"Install.vmo?returnurl=" + parameters + "\"");
document.write(" TYPE=\"application/x-virtools\"");
document.write(" PLUGINSPAGE=\"http://player.virtools.com/\"");
document.write(" WIDTH=\"" + playerWidth + "\" HEIGHT=\"" + playerHeight + "\"  bgcolor='#A8B1B8'");
document.write(" NAME=\"Virtools\" style=\"visibility:hidden;></EMBED>");
document.write("</OBJECT>");