<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   <title>SVG Check</title>
   
   <script type='text/javascript'>

      var svgOk = false;
      function Init()
      {        
         var jsWarning = document.getElementById( 'js' );
         jsWarning.style.display = 'none';

         var genericBrowserWarning = document.getElementById( 'genericBrowser' );
         genericBrowserWarning.style.display = 'none';

         setTimeout( 'DetectBrowser()', 1000 );
      }

      function ConfirmSVG()
      {
         svgOk = true;
         var svgWarning = document.getElementById( 'svg' );
         svgWarning.style.display = 'none';

         var svgSupported = document.getElementById( 'svgSupported' );
         if ( svgSupported != null ) 
         {
            svgSupported.style.display = 'block';
         }
      }

      function DetectBrowser()
      {
         if ( false == svgOk )
         {
            var browserString = null;
            if ( navigator )
            {
               var userAgent = navigator.userAgent;
               if ( -1 != userAgent.indexOf( 'Firefox' ) )
               {
                  browserString = 'ff';
               }
               else if ( -1 != userAgent.indexOf( 'Opera' ) )
               {
                  browserString = 'opera';
               }
               else
               {
                  var appName = navigator.appName;
                  if ( -1 != appName.indexOf( 'Explorer' ) )
                  {
                     browserString = 'ie';
                  }
               }
            }

            if ( browserString )
            {
               var browserAdvice = document.getElementById( browserString );
               browserAdvice.style.display = 'block';
            }
         }
      }

   </script>
   

</head>

<body bgcolor="#ffffff" onload="Init()">


   <iframe id='svg-check' name='svg-check' src='checksvg.svg' width='200' height='200' frameborder='0' scrolling="no">
      Please use FF1.5+, Opera 9+, or IE with an SVG plugin!
   </iframe>


   <h2>Browser Validation</h2>
   <p>This site is enhanced by <a href='http://www.w3.org/Graphics/SVG/' title='Scalable Vector Graphics'>SVG</a> and Javascript.</p>

   <p id='js' style="color:red;">You must have JavaScript enabled to use this site!</p>

   <p id='svg' style="color:red;">Unfortunately, your browser doesn't display SVG.</p>
   
   <p id='genericBrowser'> You should use a modern browser with native SVG support, like Firefox 1.5, Opera 9, or IE with an SVG plugin.</span>
   
   <p id='ff' style='display:none;'> You're already using Firefox... you should upgrade to <a href='http://www.mozilla.com/products/download.html' title='Firefox 1.5 download' target='_blank'>version 1.5</a>, which has native SVG support.</p>
   
   <p id='opera' style='display:none'> You're already using Opera... you should upgrade to <a href='http://labs.opera.com/downloads/' title='Opera 9 download' target='_blank'>version 9</a>, which has native SVG support.</p>

   <p id='ie' style='display:none'>Since you're using Internet Explorer, you can download a free SVG viewer plugin, such as the <a href='http://www.emiasys.net/' target='_blank'>Renesis player</a> or the <a href='http://www.adobe.com/svg/viewer/install/main.html' target='_blank'>Adobe SVG Viewer</a>.</p>
   
   <p id='svgSupported' style='display:none'>Your browser supports SVG and Javascript, so you can enjoy the full features of our site.</p>

</body>
</html>
            