<?xml   version="1.0"  encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Wind Speed Converter" 
category="tools"
category2="technology"
description="Convert wind speeds between Miles per hour, kilometers per hour, knots, metres per second, feet per second" 
title_url="http://gadget-blog.ro/" 
author="Johnny Kind" 
author_email="wattaman.a@gmail.com"  
author_photo="http://farm7.static.flickr.com/6104/6266524214_0d6f3254ec_m.jpg" 
author_aboutme="Hey, check out http://cafebar.ro/" 
author_location="Bangkok, Thailand"
author_quote="I like doing gadgets!"
author_link="http://real-estate-th.com/author/wattaman" 
screenshot="http://farm7.static.flickr.com/6043/6314429770_ffa0c58f65.jpg" 
thumbnail="http://farm7.static.flickr.com/6043/6314429770_ffa0c58f65.jpg" 
height="380" width="290">
  </ModulePrefs>
<Content type="html" view="home">
<![CDATA[

<script language="javascript" type="text/javascript">
function decideConvert(speed){
speed=parseFloat(document.Convert.Windspeed.value)
if(document.Convert.windunit[0].checked){
document.Convert.Mph.value=roundOff(speed)
document.Convert.Knots.value=roundOff(convertmphtoknots(speed))
document.Convert.Mps.value=roundOff(convertmphtomps(speed))
document.Convert.Ftps.value=roundOff(convertmphtoftps(speed))
document.Convert.Kmph.value=roundOff(convertmphtokmph(speed))}
else if(document.Convert.windunit[1].checked){
document.Convert.Mph.value=roundOff(convertknotstomph(speed))
document.Convert.Knots.value=roundOff(speed)
document.Convert.Mps.value=roundOff(convertknotstomps(speed))
document.Convert.Ftps.value=roundOff(convertknotstoftps(speed))
document.Convert.Kmph.value=roundOff(convertknotstokmph(speed))}
else if(document.Convert.windunit[2].checked){
document.Convert.Mph.value=roundOff(convertmpstomph(speed))
document.Convert.Knots.value=roundOff(convertmpstoknots(speed))
document.Convert.Mps.value=roundOff(speed)
document.Convert.Ftps.value=roundOff(convertmpstoftps(speed))
document.Convert.Kmph.value=roundOff(convertmpstokmph(speed))}
else if(document.Convert.windunit[3].checked){
document.Convert.Mph.value=roundOff(convertftpstomph(speed))
document.Convert.Knots.value=roundOff(convertftpstoknots(speed))
document.Convert.Mps.value=roundOff(convertftpstomps(speed))
document.Convert.Ftps.value=roundOff(speed)
document.Convert.Kmph.value=roundOff(convertftpstokmph(speed))}
else if(document.Convert.windunit[4].checked){
document.Convert.Mph.value=roundOff(convertkmphtomph(speed))
document.Convert.Knots.value=roundOff(convertkmphtoknots(speed))
document.Convert.Mps.value=roundOff(convertkmphtomps(speed))
document.Convert.Ftps.value=roundOff(convertkmphtoftps(speed))
document.Convert.Kmph.value=roundOff(speed)}}
function convertmphtoknots(mph){
knots=0.868391*mph
return knots}
function convertmphtomps(mph){
mps=0.44704*mph
return mps}
function convertmphtoftps(mph){
ftps=1.46667*mph
return ftps}
function convertmphtokmph(mph){
kmph=1.609344*mph
return kmph}
function convertknotstomph(knots){
mph=1.15155*knots
return mph}
function convertknotstomps(knots){
mps=0.514791*knots
return mps}
function convertknotstoftps(knots){
ftps=1.68895*knots
return ftps}
function convertknotstokmph(knots){
kmph=1.85325*knots
return kmph}
function convertmpstomph(mps){
mph=2.23694*mps
return mph}
function convertmpstoknots(mps){
knots=1.94254*mps
return knots}
function convertmpstoftps(mps){
ftps=3.28084*mps
return ftps}
function convertmpstokmph(mps){
kmph=3.6*mps
return kmph}
function convertftpstomph(ftps){
mph=0.681818*ftps
return mph}
function convertftpstoknots(ftps){
knots=0.592085*ftps
return knots}
function convertftpstomps(ftps){
mps=0.3048*ftps
return mps}
function convertftpstokmph(ftps){
kmph=1.09728*ftps
return kmph}
function convertkmphtomph(kmph){
mph=0.621371*kmph
return mph}
function convertkmphtoknots(kmph){
knots=0.539593*kmph
return knots}
function convertkmphtomps(kmph){
mps=0.277778*kmph
return mps}
function convertkmphtoftps(kmph){
ftps=0.911344*kmph
return ftps}
function roundOff(value){
value=Math.round(10*value)/10
return value}
function setToNull(){
document.Convert.Mph.value=""
document.Convert.Mps.value=""
document.Convert.Kmph.value=""
document.Convert.Knots.value=""
document.Convert.Ftps.value=""
document.Convert.Windspeed.value=""}
</script>
<center><iframe border=0 frameborder=0 height=60 marginheight=0 marginwidth=0 name=explain scrolling=no src=http://atat.ro/about.html title=Portal width=234></iframe></center>
<form NAME="Convert"><div align="center"><table border="1" cellpadding="6" style="border-collapse: collapse"><tr><td colspan="2" class="scriptbox">Enter the wind speed: &nbsp; 
  <input TYPE="text" NAME="Windspeed" SIZE="13"> </td></tr><tr><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0">Choose:</p></td><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0">Answers:</p></td></tr><tr><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="radio" NAME="windunit" CHECKED> miles per hour</p></td><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="text" NAME="Mph" SIZE="8"> mph</p></td></tr><tr><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="radio" NAME="windunit"> knots</p></td><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="text" NAME="Knots" SIZE="8"> knots</p></td></tr><tr><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="radio" NAME="windunit"> meters per second</p></td><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="text" NAME="Mps" SIZE="8"> m/s</p></td></tr><tr><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="radio" NAME="windunit"> feet per second</p></td><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="text" NAME="Ftps" SIZE="8"> ft/s</p></td></tr><tr><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="radio" NAME="windunit"> kilometers per hour</p></td><td class="scriptbox"><p style="margin-top: 0; margin-bottom: 0"><input TYPE="text" NAME="Kmph" SIZE="5"> km/h</p></td></tr><tr align="center"><td colspan="2"><input TYPE="button" VALUE="Convert" onclick="decideConvert(document.Convert.Windspeed.value)"> &nbsp;&nbsp;&nbsp;&nbsp; <input TYPE="button" VALUE="Clear" onclick="setToNull()"> </td></tr></table></div></FORM>
<br><span style="float:right"><a href="http://gadget-blog.ro">Gadget Blog</a></span>

]]>
</Content>
</Module>