<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs  title="Speed Test"
              description="Test your Internet connection speed and compare with others in your area or around the world."
              author="Matt Baylis"
              author_email="smogreport+modulefeedback@gmail.com"
              directory_title="Speed Test"
              width="350" height="305"
              screenshot="http://hosting.gmodules.com/ig/gadgets/file/103534220535816043845/speedtestss.png"
              thumbnail="http://hosting.gmodules.com/ig/gadgets/file/103534220535816043845/speedtestthumb.png"                    
>
<Require feature="tabs" />
<Require feature="analytics" />
<Require feature="flash"/>
<Require feature="dynamic-height"/>
</ModulePrefs>
<Content type="html"><![CDATA[
<script>
  // Track this gadget using Google Analytics.
  _IG_Analytics("UA-346747-12", "/gadget_speedtest");
   
  var tabs = new _IG_Tabs(__MODULE_ID__, "Speakeasy");
  function init() {   
    tabs.addTab("Speedtest.net", {contentContainer: _gel("one_id__MODULE_ID__"),callback: test1callback});
    tabs.addTab("DSL Reports", "two_id__MODULE_ID__");
    tabs.addTab("Speakeasy", {contentContainer: _gel("three_id__MODULE_ID__"),callback: test3callback});
    tabs.addTab("iPhone", "four_id__MODULE_ID__");
    tabs.setSelectedTab(0);
  }
  
  function test1callback()
  {
    var so = new SWFObject("http://www.speedtest.net/mini/speedtest.swf?v=1.0", "speedtest", "350", "250", "8", "#171715");
    so.addVariable("upload_extension", "php");
    so.write("test_one__MODULE_ID__");
  }
  
  function test3callback()
  {
    var f = document.getElementById('test_three__MODULE_ID__');
    f.src = f.src;
  }
  
  _IG_RegisterOnloadHandler(init);
  _IG_AdjustIFrameHeight();
</script>

<center><br/><div><a href="https://itunes.apple.com/us/app/smog-report/id607748201?ls=1&mt=8" target="_blank"><img width="300" height="50" alt="Smog Report - Free Download" src="http://www.smogreport.com/ads/bannerad-50x300.png"/></a></div></center>

<!-- Tab One -->
<div id="one_id__MODULE_ID__" style="text-align:center;background-color: #000;display:none" width="100%">
<script type="text/javascript" src="http://www.speedtest.net/flash/swfobject.js"></script>
<div id="test_one__MODULE_ID__" class="minitest">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="350" height="350">
  <param name="movie" value="http://www.speedtest.net/mini/speedtest.swf?v=1.0" />
  <param name="quality" value="high" />
  <param name="WMode" value="Transparent" />
  <param name="FlashVars" value="upload_extension=php" />
  <embed src="http://www.speedtest.net/mini/speedtest.swf?v=1.0" width="350" height="250" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="Transparent" flashvars="upload_extension=php"></embed>
</object>
</div>
</div>

<!-- Tab Two -->
<div id="two_id__MODULE_ID__" style="text-align:center;background-color: #FFF;display:none" width="100%">
<div id="test_two__MODULE_ID__">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="350" height="350">
  <param name="movie" value="http://www.dslreports.com/front/flashtest/speedtest.swf" />
  <param name="quality" value="high" />
  <param name="WMode" value="Transparent" />
  <param name="FlashVars" value="extswfPath=http://www.dslreports.com/front/flashtest/&extDomain=&extUserDomain=&extUserID=" />
  <embed src="http://www.dslreports.com/front/flashtest/speedtest.swf" width="350" height="350" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="Transparent" flashvars="extswfPath=http://www.dslreports.com/front/flashtest/&extDomain=&extUserDomain=&extUserID=&scope=dslr_public"></embed>
</object>
</div>
</div>

<!-- Tab Three -->
<div id="three_id__MODULE_ID__" style="text-align:center;background-color: #FFF;display:none" width="100%">
<iframe id="test_three__MODULE_ID__" src="http://www.speakeasy.net/speedtest/speedtest.swf?v=1.8.2.3" width="100%" height="100%" frameborder="0"></iframe>
</div>

<!-- Tab Four -->
<div id="four_id__MODULE_ID__" style="text-align:center;background-color: #FFF;display:none" width="100%">
<iframe id="test_four__MODULE_ID__" src="http://testmyiphone.com/speedtest" width="100%" height="100%" frameborder="0"></iframe>
</div>
]]></Content>
</Module>
